cregit-Linux how code gets into the kernel

Release 4.8 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
pre-gitpre-git5385.48%466.67%
arnaldo carvalho de meloarnaldo carvalho de melo812.90%116.67%
stephen hemmingerstephen 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
pre-gitpre-git4291.30%250.00%
arnaldo carvalho de meloarnaldo carvalho de melo48.70%250.00%
Total46100.00%4100.00%


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

Contributors

PersonTokensPropCommitsCommitProp
pre-gitpre-git15100.00%2100.00%
Total15100.00%2100.00%


Overall Contributors

PersonTokensPropCommitsCommitProp
pre-gitpre-git12083.33%763.64%
arnaldo carvalho de meloarnaldo carvalho de melo2013.89%218.18%
tejun heotejun heo32.08%19.09%
stephen hemmingerstephen 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.