tag | line | file | source code |
ulen | 135 | include/linux/socket.h | extern int move_addr_to_user(void *kaddr, int klen, void *uaddr, int *ulen); |
ulen | 136 | include/linux/socket.h | extern int move_addr_to_kernel(void *uaddr, int ulen, void *kaddr); |
ulen | 302 | net/ipv4/udp.c | int ulen = len + sizeof(struct udphdr); |
ulen | 306 | net/ipv4/udp.c | if(ulen>65535-sizeof(struct iphdr)) |
ulen | 311 | net/ipv4/udp.c | ufh.uh.len = htons(ulen); |
ulen | 314 | net/ipv4/udp.c | ufh.other = (htons(ulen) << 16) + IPPROTO_UDP*256; |
ulen | 324 | net/ipv4/udp.c | a = ip_build_xmit(sk, udp_getfrag_nosum, &ufh, ulen, |
ulen | 327 | net/ipv4/udp.c | a = ip_build_xmit(sk, udp_getfrag, &ufh, ulen, |
ulen | 627 | net/ipv4/udp.c | unsigned short ulen; |
ulen | 660 | net/ipv4/udp.c | ulen = ntohs(uh->len); |
ulen | 662 | net/ipv4/udp.c | if (ulen > len || len < sizeof(*uh) || ulen < sizeof(*uh)) |
ulen | 664 | net/ipv4/udp.c | NETDEBUG(printk("UDP: short packet: %d/%d\n", ulen, len)); |
ulen | 693 | net/ipv4/udp.c | ulen)); |
ulen | 706 | net/ipv4/udp.c | len=ulen; |
ulen | 132 | net/socket.c | int move_addr_to_kernel(void *uaddr, int ulen, void *kaddr) |
ulen | 135 | net/socket.c | if(ulen<0||ulen>MAX_SOCK_ADDR) |
ulen | 137 | net/socket.c | if(ulen==0) |
ulen | 139 | net/socket.c | if((err=verify_area(VERIFY_READ,uaddr,ulen))<0) |
ulen | 141 | net/socket.c | memcpy_fromfs(kaddr,uaddr,ulen); |
ulen | 145 | net/socket.c | int move_addr_to_user(void *kaddr, int klen, void *uaddr, int *ulen) |
ulen | 151 | net/socket.c | if((err=verify_area(VERIFY_WRITE,ulen,sizeof(*ulen)))<0) |
ulen | 153 | net/socket.c | len=get_user(ulen); |
ulen | 164 | net/socket.c | put_user(len,ulen); |