tag | line | file | source code |
sunaddr | 79 | net/unix/af_unix.c | static inline void unix_mkname(struct sockaddr_un * sunaddr, unsigned long len) |
sunaddr | 81 | net/unix/af_unix.c | if (len >= sizeof(*sunaddr)) |
sunaddr | 82 | net/unix/af_unix.c | len = sizeof(*sunaddr)-1; |
sunaddr | 83 | net/unix/af_unix.c | ((char *)sunaddr)[len]=0; |
sunaddr | 411 | net/unix/af_unix.c | struct sockaddr_un *sunaddr=(struct sockaddr_un *)uaddr; |
sunaddr | 419 | net/unix/af_unix.c | if(addr_len>sizeof(struct sockaddr_un) || addr_len<3 || sunaddr->sun_family!=AF_UNIX) |
sunaddr | 421 | net/unix/af_unix.c | unix_mkname(sunaddr, addr_len); |
sunaddr | 431 | net/unix/af_unix.c | memcpy(sk->protinfo.af_unix.name, sunaddr->sun_path, addr_len+1); |
sunaddr | 459 | net/unix/af_unix.c | struct sockaddr_un *sunaddr=(struct sockaddr_un *)uaddr; |
sunaddr | 485 | net/unix/af_unix.c | if(addr_len < sizeof(sunaddr->sun_family)+1 || sunaddr->sun_family!=AF_UNIX) |
sunaddr | 488 | net/unix/af_unix.c | unix_mkname(sunaddr, addr_len); |
sunaddr | 498 | net/unix/af_unix.c | other=unix_find_other(sunaddr->sun_path, &err); |
sunaddr | 523 | net/unix/af_unix.c | unix_mkname(sunaddr, addr_len); |
sunaddr | 524 | net/unix/af_unix.c | other=unix_find_other(sunaddr->sun_path, &err); |
sunaddr | 668 | net/unix/af_unix.c | struct sockaddr_un *sunaddr=(struct sockaddr_un *)uaddr; |
sunaddr | 676 | net/unix/af_unix.c | sunaddr->sun_family=AF_UNIX; |
sunaddr | 679 | net/unix/af_unix.c | *sunaddr->sun_path=0; |
sunaddr | 680 | net/unix/af_unix.c | *uaddr_len=sizeof(sunaddr->sun_family)+1; |
sunaddr | 683 | net/unix/af_unix.c | *uaddr_len=sizeof(sunaddr->sun_family)+strlen(sk->protinfo.af_unix.name)+1; |
sunaddr | 684 | net/unix/af_unix.c | strcpy(sunaddr->sun_path,sk->protinfo.af_unix.name); /* 108 byte limited */ |
sunaddr | 898 | net/unix/af_unix.c | struct sockaddr_un *sunaddr=msg->msg_name; |
sunaddr | 919 | net/unix/af_unix.c | if(sunaddr!=NULL) |
sunaddr | 930 | net/unix/af_unix.c | if(sunaddr==NULL) |
sunaddr | 1019 | net/unix/af_unix.c | if(sunaddr==NULL) |
sunaddr | 1037 | net/unix/af_unix.c | unix_mkname(sunaddr, msg->msg_namelen); |
sunaddr | 1038 | net/unix/af_unix.c | other=unix_find_other(sunaddr->sun_path, &err); |
sunaddr | 1076 | net/unix/af_unix.c | struct sockaddr_un *sunaddr=msg->msg_name; |
sunaddr | 1147 | net/unix/af_unix.c | sunaddr->sun_family=AF_UNIX; |
sunaddr | 1150 | net/unix/af_unix.c | memcpy(sunaddr->sun_path, skb->sk->protinfo.af_unix.name, 108); |
sunaddr | 1152 | net/unix/af_unix.c | *addr_len=strlen(sunaddr->sun_path)+sizeof(short); |