tag | line | file | source code |
sunaddr | 81 | net/unix/af_unix.c | static inline void unix_mkname(struct sockaddr_un * sunaddr, unsigned long len) |
sunaddr | 83 | net/unix/af_unix.c | if (len >= sizeof(*sunaddr)) |
sunaddr | 84 | net/unix/af_unix.c | len = sizeof(*sunaddr)-1; |
sunaddr | 85 | net/unix/af_unix.c | ((char *)sunaddr)[len]=0; |
sunaddr | 413 | net/unix/af_unix.c | struct sockaddr_un *sunaddr=(struct sockaddr_un *)uaddr; |
sunaddr | 421 | net/unix/af_unix.c | if(addr_len>sizeof(struct sockaddr_un) || addr_len<3 || sunaddr->sun_family!=AF_UNIX) |
sunaddr | 423 | net/unix/af_unix.c | unix_mkname(sunaddr, addr_len); |
sunaddr | 433 | net/unix/af_unix.c | memcpy(sk->protinfo.af_unix.name, sunaddr->sun_path, addr_len+1); |
sunaddr | 461 | net/unix/af_unix.c | struct sockaddr_un *sunaddr=(struct sockaddr_un *)uaddr; |
sunaddr | 487 | net/unix/af_unix.c | if(addr_len < sizeof(sunaddr->sun_family)+1 || sunaddr->sun_family!=AF_UNIX) |
sunaddr | 490 | net/unix/af_unix.c | unix_mkname(sunaddr, addr_len); |
sunaddr | 500 | net/unix/af_unix.c | other=unix_find_other(sunaddr->sun_path, &err); |
sunaddr | 525 | net/unix/af_unix.c | unix_mkname(sunaddr, addr_len); |
sunaddr | 526 | net/unix/af_unix.c | other=unix_find_other(sunaddr->sun_path, &err); |
sunaddr | 670 | net/unix/af_unix.c | struct sockaddr_un *sunaddr=(struct sockaddr_un *)uaddr; |
sunaddr | 678 | net/unix/af_unix.c | sunaddr->sun_family=AF_UNIX; |
sunaddr | 681 | net/unix/af_unix.c | *sunaddr->sun_path=0; |
sunaddr | 682 | net/unix/af_unix.c | *uaddr_len=sizeof(sunaddr->sun_family)+1; |
sunaddr | 685 | net/unix/af_unix.c | *uaddr_len=sizeof(sunaddr->sun_family)+strlen(sk->protinfo.af_unix.name)+1; |
sunaddr | 686 | net/unix/af_unix.c | strcpy(sunaddr->sun_path,sk->protinfo.af_unix.name); /* 108 byte limited */ |
sunaddr | 893 | net/unix/af_unix.c | struct sockaddr_un *sunaddr=msg->msg_name; |
sunaddr | 914 | net/unix/af_unix.c | if(sunaddr!=NULL) |
sunaddr | 925 | net/unix/af_unix.c | if(sunaddr==NULL) |
sunaddr | 1014 | net/unix/af_unix.c | if(sunaddr==NULL) |
sunaddr | 1032 | net/unix/af_unix.c | unix_mkname(sunaddr, msg->msg_namelen); |
sunaddr | 1033 | net/unix/af_unix.c | other=unix_find_other(sunaddr->sun_path, &err); |
sunaddr | 1071 | net/unix/af_unix.c | struct sockaddr_un *sunaddr=msg->msg_name; |
sunaddr | 1142 | net/unix/af_unix.c | sunaddr->sun_family=AF_UNIX; |
sunaddr | 1145 | net/unix/af_unix.c | memcpy(sunaddr->sun_path, skb->sk->protinfo.af_unix.name, 108); |
sunaddr | 1147 | net/unix/af_unix.c | *addr_len=strlen(sunaddr->sun_path)+sizeof(short); |