tag | line | file | source code |
sk1 | 154 | net/inet/af_inet.c | struct sock *sk1; |
sk1 | 188 | net/inet/af_inet.c | sk1 = sk->prot->sock_array[num]; |
sk1 | 189 | net/inet/af_inet.c | for(sk2 = sk1; sk2 != NULL; sk2=sk2->next) |
sk1 | 193 | net/inet/af_inet.c | if (sk2 == sk1) |
sk1 | 201 | net/inet/af_inet.c | sk1->next= sk; |
sk1 | 205 | net/inet/af_inet.c | sk1 = sk2; |
sk1 | 210 | net/inet/af_inet.c | sk1->next = sk; |
sk1 | 218 | net/inet/af_inet.c | static void remove_sock(struct sock *sk1) |
sk1 | 223 | net/inet/af_inet.c | if (!sk1->prot) |
sk1 | 232 | net/inet/af_inet.c | sk2 = sk1->prot->sock_array[sk1->num &(SOCK_ARRAY_SIZE -1)]; |
sk1 | 233 | net/inet/af_inet.c | if (sk2 == sk1) |
sk1 | 235 | net/inet/af_inet.c | sk1->prot->inuse -= 1; |
sk1 | 236 | net/inet/af_inet.c | sk1->prot->sock_array[sk1->num &(SOCK_ARRAY_SIZE -1)] = sk1->next; |
sk1 | 241 | net/inet/af_inet.c | while(sk2 && sk2->next != sk1) |
sk1 | 248 | net/inet/af_inet.c | sk1->prot->inuse -= 1; |
sk1 | 249 | net/inet/af_inet.c | sk2->next = sk1->next; |
sk1 | 993 | net/inet/af_inet.c | struct sock *sk1, *sk2; |
sk1 | 996 | net/inet/af_inet.c | sk1 = (struct sock *) sock->data; |
sk1 | 1011 | net/inet/af_inet.c | if (sk1->prot->accept == NULL) |
sk1 | 1015 | net/inet/af_inet.c | if (sk1->pair != NULL ) |
sk1 | 1017 | net/inet/af_inet.c | sk2 = sk1->pair; |
sk1 | 1018 | net/inet/af_inet.c | sk1->pair = NULL; |
sk1 | 1022 | net/inet/af_inet.c | sk2 = sk1->prot->accept(sk1,flags); |
sk1 | 1025 | net/inet/af_inet.c | if (sk1->err <= 0) |
sk1 | 1027 | net/inet/af_inet.c | err=sk1->err; |
sk1 | 1028 | net/inet/af_inet.c | sk1->err=0; |
sk1 | 1046 | net/inet/af_inet.c | sk1->pair = sk2; |