The rest of this page will walk through what the SKB data area looks like in a newly allocated SKB. How to modify those pointers to add headers, add user data, ...【阅读全文】
1.setsockopt/* * Set a socket option. Because we don't know the option lengths we have * to pass the user mode parameter for the protocols to sort out. */SYS...【阅读全文】
使用socket(AF_INET, SOCK_STREAM, 0)创建socket/* Upon startup we insert all the elements in inetsw_array[] into * the linked list inetsw. */static struct inet_...【阅读全文】