cregit-Linux how code gets into the kernel

Release 4.11 net/ipx/pe2.c

Directory: net/ipx
#include <linux/in.h>
#include <linux/mm.h>
#include <linux/module.h>
#include <linux/netdevice.h>
#include <linux/skbuff.h>
#include <linux/slab.h>

#include <net/datalink.h>


static int pEII_request(struct datalink_proto *dl, struct sk_buff *skb, unsigned char *dest_node) { struct net_device *dev = skb->dev; skb->protocol = htons(ETH_P_IPX); dev_hard_header(skb, dev, ETH_P_IPX, dest_node, NULL, skb->len); return dev_queue_xmit(skb); }

Contributors

PersonTokensPropCommitsCommitProp
Linus Torvalds (pre-git)5385.48%466.67%
Arnaldo Carvalho de Melo812.90%116.67%
Stephen Hemminger11.61%116.67%
Total62100.00%6100.00%


struct datalink_proto *make_EII_client(void) { struct datalink_proto *proto = kmalloc(sizeof(*proto), GFP_ATOMIC); if (proto) { proto->header_length = 0; proto->request = pEII_request; } return proto; }

Contributors

PersonTokensPropCommitsCommitProp
Linus Torvalds (pre-git)4291.30%250.00%
Arnaldo Carvalho de Melo48.70%250.00%
Total46100.00%4100.00%


void destroy_EII_client(struct datalink_proto *dl) { kfree(dl); }

Contributors

PersonTokensPropCommitsCommitProp
Linus Torvalds (pre-git)15100.00%2100.00%
Total15100.00%2100.00%


Overall Contributors

PersonTokensPropCommitsCommitProp
Linus Torvalds (pre-git)12083.33%763.64%
Arnaldo Carvalho de Melo2013.89%218.18%
Tejun Heo32.08%19.09%
Stephen Hemminger10.69%19.09%
Total144100.00%11100.00%
Directory: net/ipx
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.