默默的一块石头
发布时间:2022-02-22 14:36:47
accept睡眠int __sys_accept4(int fd, struct sockaddr __user *upeer_sockaddr, int __user *upeer_addrlen, int flags){ err = sock->ops->accept(sock, newsock, sock->file->f_flags, false);}int inet_accept(struct socket *sock, struct socket *newsock, int flags, bool kern){ struct sock *sk2.........
发布时间:2022-02-16 11:45:46
1.插入struct proto tcp_prot = { .name = "tcp", .owner = this_module, .hash = inet_hash,}feb 16 10:26:36 chro kernel: [ 14.108487] __inet_hash 0x7d/0x2f0feb 16 10:26:36 chro kernel: [ 14.108488] inet_hash 0x28/0x50feb 16 10:26:36 chro kernel: [ .........