tag | line | file | source code |
protinfo | 221 | include/net/sock.h | } protinfo; |
protinfo | 135 | net/appletalk/ddp.c | if ( to->sat_port != s->protinfo.af_at.src_port ) |
protinfo | 142 | net/appletalk/ddp.c | s->protinfo.af_at.src_net == atif->address.s_net ) |
protinfo | 147 | net/appletalk/ddp.c | if ( to->sat_addr.s_net == s->protinfo.af_at.src_net && |
protinfo | 148 | net/appletalk/ddp.c | to->sat_addr.s_node == s->protinfo.af_at.src_node ) |
protinfo | 168 | net/appletalk/ddp.c | if ( s->protinfo.af_at.src_net != sat->sat_addr.s_net ) |
protinfo | 172 | net/appletalk/ddp.c | if ( s->protinfo.af_at.src_node != sat->sat_addr.s_node ) |
protinfo | 176 | net/appletalk/ddp.c | if ( s->protinfo.af_at.src_port != sat->sat_port ) |
protinfo | 249 | net/appletalk/ddp.c | s->protinfo.af_at.src_net,s->protinfo.af_at.src_node,s->protinfo.af_at.src_port); |
protinfo | 251 | net/appletalk/ddp.c | s->protinfo.af_at.dest_net,s->protinfo.af_at.dest_node,s->protinfo.af_at.dest_port); |
protinfo | 1116 | net/appletalk/ddp.c | sk->protinfo.af_at.src_net=0; |
protinfo | 1117 | net/appletalk/ddp.c | sk->protinfo.af_at.src_node=0; |
protinfo | 1118 | net/appletalk/ddp.c | sk->protinfo.af_at.src_port=0; |
protinfo | 1120 | net/appletalk/ddp.c | sk->protinfo.af_at.dest_net=0; |
protinfo | 1121 | net/appletalk/ddp.c | sk->protinfo.af_at.dest_node=0; |
protinfo | 1122 | net/appletalk/ddp.c | sk->protinfo.af_at.dest_port=0; |
protinfo | 1190 | net/appletalk/ddp.c | sk->protinfo.af_at.src_net = sat.sat_addr.s_net = ap->s_net; |
protinfo | 1191 | net/appletalk/ddp.c | sk->protinfo.af_at.src_node = sat.sat_addr.s_node = ap->s_node; |
protinfo | 1195 | net/appletalk/ddp.c | sk->protinfo.af_at.src_port=n; |
protinfo | 1226 | net/appletalk/ddp.c | sk->protinfo.af_at.src_net=addr->sat_addr.s_net=ap->s_net; |
protinfo | 1227 | net/appletalk/ddp.c | sk->protinfo.af_at.src_node=addr->sat_addr.s_node=ap->s_node; |
protinfo | 1233 | net/appletalk/ddp.c | sk->protinfo.af_at.src_net=addr->sat_addr.s_net; |
protinfo | 1234 | net/appletalk/ddp.c | sk->protinfo.af_at.src_node=addr->sat_addr.s_node; |
protinfo | 1242 | net/appletalk/ddp.c | sk->protinfo.af_at.src_port=addr->sat_port=n; |
protinfo | 1245 | net/appletalk/ddp.c | sk->protinfo.af_at.src_port=addr->sat_port; |
protinfo | 1287 | net/appletalk/ddp.c | sk->protinfo.af_at.dest_port=addr->sat_port; |
protinfo | 1288 | net/appletalk/ddp.c | sk->protinfo.af_at.dest_net=addr->sat_addr.s_net; |
protinfo | 1289 | net/appletalk/ddp.c | sk->protinfo.af_at.dest_node=addr->sat_addr.s_node; |
protinfo | 1339 | net/appletalk/ddp.c | sat.sat_addr.s_net=sk->protinfo.af_at.dest_net; |
protinfo | 1340 | net/appletalk/ddp.c | sat.sat_addr.s_node=sk->protinfo.af_at.dest_node; |
protinfo | 1341 | net/appletalk/ddp.c | sat.sat_port=sk->protinfo.af_at.dest_port; |
protinfo | 1345 | net/appletalk/ddp.c | sat.sat_addr.s_net=sk->protinfo.af_at.src_net; |
protinfo | 1346 | net/appletalk/ddp.c | sat.sat_addr.s_node=sk->protinfo.af_at.src_node; |
protinfo | 1347 | net/appletalk/ddp.c | sat.sat_port=sk->protinfo.af_at.src_port; |
protinfo | 1555 | net/appletalk/ddp.c | usat->sat_port=sk->protinfo.af_at.dest_port; |
protinfo | 1556 | net/appletalk/ddp.c | usat->sat_addr.s_node=sk->protinfo.af_at.dest_node; |
protinfo | 1557 | net/appletalk/ddp.c | usat->sat_addr.s_net=sk->protinfo.af_at.dest_net; |
protinfo | 1578 | net/appletalk/ddp.c | at_hint.s_net=sk->protinfo.af_at.src_net; |
protinfo | 1617 | net/appletalk/ddp.c | ddp->deh_snet=sk->protinfo.af_at.src_net; |
protinfo | 1619 | net/appletalk/ddp.c | ddp->deh_snode=sk->protinfo.af_at.src_node; |
protinfo | 1621 | net/appletalk/ddp.c | ddp->deh_sport=sk->protinfo.af_at.src_port; |
protinfo | 221 | net/ipv4/packet.c | unregister_netdevice_notifier(&sk->protinfo.af_packet.notifier); |
protinfo | 223 | net/ipv4/packet.c | if(sk->protinfo.af_packet.prot_hook) |
protinfo | 229 | net/ipv4/packet.c | dev_remove_pack((struct packet_type *)sk->protinfo.af_packet.prot_hook); |
protinfo | 235 | net/ipv4/packet.c | kfree_s((void *)sk->protinfo.af_packet.prot_hook, sizeof(struct packet_type)); |
protinfo | 236 | net/ipv4/packet.c | sk->protinfo.af_packet.prot_hook = NULL; |
protinfo | 262 | net/ipv4/packet.c | sk->protinfo.af_packet.prot_hook = p; |
protinfo | 289 | net/ipv4/packet.c | if((sk->protinfo.af_packet.bound_dev=dev_get(dev))==NULL) |
protinfo | 294 | net/ipv4/packet.c | if(!(sk->protinfo.af_packet.bound_dev->flags&IFF_UP)) |
protinfo | 304 | net/ipv4/packet.c | memcpy(sk->protinfo.af_packet.device_name,dev,15); |
protinfo | 305 | net/ipv4/packet.c | if(sk->protinfo.af_packet.prot_hook) |
protinfo | 306 | net/ipv4/packet.c | dev_remove_pack(sk->protinfo.af_packet.prot_hook); |
protinfo | 316 | net/ipv4/packet.c | sk->protinfo.af_packet.prot_hook->dev=sk->protinfo.af_packet.bound_dev; |
protinfo | 317 | net/ipv4/packet.c | dev_add_pack(sk->protinfo.af_packet.prot_hook); |
protinfo | 365 | net/ipv4/packet.c | sk->protinfo.af_packet.notifier.notifier_call=packet_unbind; |
protinfo | 366 | net/ipv4/packet.c | sk->protinfo.af_packet.notifier.priority=0; |
protinfo | 368 | net/ipv4/packet.c | register_netdevice_notifier(&sk->protinfo.af_packet.notifier); |
protinfo | 394 | net/ipv4/packet.c | if(sk->protinfo.af_packet.prot_hook==NULL) |
protinfo | 121 | net/unix/af_unix.c | if(s->protinfo.af_unix.inode==i) |
protinfo | 139 | net/unix/af_unix.c | if(sk->protinfo.af_unix.locks==0 && sk->wmem_alloc==0) |
protinfo | 141 | net/unix/af_unix.c | if(sk->protinfo.af_unix.name) |
protinfo | 142 | net/unix/af_unix.c | kfree(sk->protinfo.af_unix.name); |
protinfo | 186 | net/unix/af_unix.c | if(sk->protinfo.af_unix.inode!=NULL) |
protinfo | 188 | net/unix/af_unix.c | iput(sk->protinfo.af_unix.inode); |
protinfo | 189 | net/unix/af_unix.c | sk->protinfo.af_unix.inode=NULL; |
protinfo | 192 | net/unix/af_unix.c | if(--sk->protinfo.af_unix.locks==0 && sk->wmem_alloc==0) |
protinfo | 194 | net/unix/af_unix.c | if(sk->protinfo.af_unix.name) |
protinfo | 195 | net/unix/af_unix.c | kfree(sk->protinfo.af_unix.name); |
protinfo | 239 | net/unix/af_unix.c | if(sk->protinfo.af_unix.name==NULL) |
protinfo | 300 | net/unix/af_unix.c | sk->protinfo.af_unix.family=AF_UNIX; |
protinfo | 301 | net/unix/af_unix.c | sk->protinfo.af_unix.inode=NULL; |
protinfo | 302 | net/unix/af_unix.c | sk->protinfo.af_unix.locks=1; /* Us */ |
protinfo | 303 | net/unix/af_unix.c | sk->protinfo.af_unix.readsem=MUTEX; /* single task reading lock */ |
protinfo | 304 | net/unix/af_unix.c | sk->protinfo.af_unix.name=NULL; |
protinfo | 305 | net/unix/af_unix.c | sk->protinfo.af_unix.other=NULL; |
protinfo | 356 | net/unix/af_unix.c | skpair=(unix_socket *)sk->protinfo.af_unix.other; /* Person we send to (default) */ |
protinfo | 363 | net/unix/af_unix.c | skpair->protinfo.af_unix.locks--; /* It may now die */ |
protinfo | 364 | net/unix/af_unix.c | sk->protinfo.af_unix.other=NULL; /* No pair */ |
protinfo | 410 | net/unix/af_unix.c | if(sk->protinfo.af_unix.name) |
protinfo | 419 | net/unix/af_unix.c | if(sk->protinfo.af_unix.inode!=NULL) |
protinfo | 422 | net/unix/af_unix.c | sk->protinfo.af_unix.name=kmalloc(addr_len+1, GFP_KERNEL); |
protinfo | 423 | net/unix/af_unix.c | if(sk->protinfo.af_unix.name==NULL) |
protinfo | 425 | net/unix/af_unix.c | memcpy(sk->protinfo.af_unix.name, sunaddr->sun_path, addr_len+1); |
protinfo | 430 | net/unix/af_unix.c | err=do_mknod(sk->protinfo.af_unix.name,S_IFSOCK|S_IRWXUGO,0); |
protinfo | 432 | net/unix/af_unix.c | err=open_namei(sk->protinfo.af_unix.name, 2, S_IFSOCK, &sk->protinfo.af_unix.inode, NULL); |
protinfo | 438 | net/unix/af_unix.c | kfree_s(sk->protinfo.af_unix.name,addr_len+1); |
protinfo | 439 | net/unix/af_unix.c | sk->protinfo.af_unix.name=NULL; |
protinfo | 458 | net/unix/af_unix.c | if(sk->type==SOCK_STREAM && sk->protinfo.af_unix.other) |
protinfo | 480 | net/unix/af_unix.c | if(sk->type==SOCK_DGRAM && sk->protinfo.af_unix.other) |
protinfo | 482 | net/unix/af_unix.c | sk->protinfo.af_unix.other->protinfo.af_unix.locks--; |
protinfo | 483 | net/unix/af_unix.c | sk->protinfo.af_unix.other=NULL; |
protinfo | 494 | net/unix/af_unix.c | other->protinfo.af_unix.locks++; |
protinfo | 495 | net/unix/af_unix.c | sk->protinfo.af_unix.other=other; |
protinfo | 526 | net/unix/af_unix.c | other->protinfo.af_unix.locks++; /* Lock the other socket so it doesn't run off for a moment */ |
protinfo | 528 | net/unix/af_unix.c | sk->protinfo.af_unix.other=other; |
protinfo | 561 | net/unix/af_unix.c | sk->protinfo.af_unix.other->protinfo.af_unix.locks--; |
protinfo | 562 | net/unix/af_unix.c | sk->protinfo.af_unix.other=NULL; |
protinfo | 586 | net/unix/af_unix.c | ska->protinfo.af_unix.locks++; |
protinfo | 587 | net/unix/af_unix.c | skb->protinfo.af_unix.locks++; |
protinfo | 588 | net/unix/af_unix.c | ska->protinfo.af_unix.other=skb; |
protinfo | 589 | net/unix/af_unix.c | skb->protinfo.af_unix.other=ska; |
protinfo | 611 | net/unix/af_unix.c | if(sk->protinfo.af_unix.name!=NULL) |
protinfo | 613 | net/unix/af_unix.c | newsk->protinfo.af_unix.name=kmalloc(strlen(sk->protinfo.af_unix.name)+1, GFP_KERNEL); |
protinfo | 614 | net/unix/af_unix.c | if(newsk->protinfo.af_unix.name==NULL) |
protinfo | 616 | net/unix/af_unix.c | strcpy(newsk->protinfo.af_unix.name, sk->protinfo.af_unix.name); |
protinfo | 643 | net/unix/af_unix.c | newsk->protinfo.af_unix.other=tsk; |
protinfo | 644 | net/unix/af_unix.c | tsk->protinfo.af_unix.other=newsk; |
protinfo | 647 | net/unix/af_unix.c | newsk->protinfo.af_unix.locks++; /* Swap lock over */ |
protinfo | 648 | net/unix/af_unix.c | sk->protinfo.af_unix.locks--; /* Locked to child socket not master */ |
protinfo | 649 | net/unix/af_unix.c | tsk->protinfo.af_unix.locks++; /* Back lock */ |
protinfo | 663 | net/unix/af_unix.c | if(sk->protinfo.af_unix.other==NULL) |
protinfo | 665 | net/unix/af_unix.c | sk=sk->protinfo.af_unix.other; |
protinfo | 668 | net/unix/af_unix.c | if(sk->protinfo.af_unix.name==NULL) |
protinfo | 674 | net/unix/af_unix.c | *uaddr_len=sizeof(sunaddr->sun_family)+strlen(sk->protinfo.af_unix.name)+1; |
protinfo | 675 | net/unix/af_unix.c | strcpy(sunaddr->sun_path,sk->protinfo.af_unix.name); /* 108 byte limited */ |
protinfo | 710 | net/unix/af_unix.c | if(sk->protinfo.af_unix.other==NULL) |
protinfo | 766 | net/unix/af_unix.c | other=sk->protinfo.af_unix.other; |
protinfo | 769 | net/unix/af_unix.c | other->protinfo.af_unix.locks--; |
protinfo | 770 | net/unix/af_unix.c | sk->protinfo.af_unix.other=NULL; |
protinfo | 837 | net/unix/af_unix.c | down(&sk->protinfo.af_unix.readsem); /* Lock the socket */ |
protinfo | 854 | net/unix/af_unix.c | up(&sk->protinfo.af_unix.readsem); |
protinfo | 864 | net/unix/af_unix.c | down(&sk->protinfo.af_unix.readsem); |
protinfo | 870 | net/unix/af_unix.c | if(skb->sk->protinfo.af_unix.name) |
protinfo | 872 | net/unix/af_unix.c | memcpy(sunaddr->sun_path, skb->sk->protinfo.af_unix.name, 108); |
protinfo | 898 | net/unix/af_unix.c | up(&sk->protinfo.af_unix.readsem); |
protinfo | 905 | net/unix/af_unix.c | unix_socket *other=sk->protinfo.af_unix.other; |
protinfo | 916 | net/unix/af_unix.c | other=sk->protinfo.af_unix.other; |
protinfo | 987 | net/unix/af_unix.c | s->protinfo.af_unix.locks, |
protinfo | 992 | net/unix/af_unix.c | if(s->protinfo.af_unix.name!=NULL) |
protinfo | 993 | net/unix/af_unix.c | len+=sprintf(buffer+len, " %s\n", s->protinfo.af_unix.name); |