Re: Kernelnewbies Digest, Vol 79, Issue 18

2017-06-21 Thread wiktoria.lewicka
...@kernelnewbies.org > > You can reach the person managing the list at > kernelnewbies-ow...@kernelnewbies.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Kernelnewbies digest..." > > > Today

My network device don't work

2017-06-20 Thread wiktoria.lewicka
Hello. I write simple network device, but its don't work. Module is loading, loading, loading... Code: #include #include #include #include #include #define DEV_NAME "chwdp" struct net_device my_netdev; int init_my_net_dev(struct net_device *dev); struct net_device_ops nops = { .ndo_init

Struct sk_buff_head

2017-06-07 Thread wiktoria.lewicka
Hello! I read code from file include/linux/skbuff.h and I have question about sk_buff_head structure. This structure is pointing to next and prev sk_buff structure on list. But I found the same pointers in first field structure sk_buff- it is union, which has pointers to next and prev sk_buff st