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 | 304 | net/ipv4/udp.c | int ulen = len + sizeof(struct udphdr); |
ulen | 308 | net/ipv4/udp.c | if(ulen>65535-sizeof(struct iphdr)) |
ulen | 313 | net/ipv4/udp.c | ufh.uh.len = htons(ulen); |
ulen | 316 | net/ipv4/udp.c | ufh.other = (htons(ulen) << 16) + IPPROTO_UDP*256; |
ulen | 326 | net/ipv4/udp.c | a = ip_build_xmit(sk, udp_getfrag_nosum, &ufh, ulen, |
ulen | 329 | net/ipv4/udp.c | a = ip_build_xmit(sk, udp_getfrag, &ufh, ulen, |
ulen | 597 | net/ipv4/udp.c | unsigned short ulen; |
ulen | 615 | net/ipv4/udp.c | ulen = ntohs(uh->len); |
ulen | 617 | net/ipv4/udp.c | if (ulen > len || len < sizeof(*uh) || ulen < sizeof(*uh)) |
ulen | 619 | net/ipv4/udp.c | NETDEBUG(printk("UDP: short packet: %d/%d\n", ulen, len)); |
ulen | 648 | net/ipv4/udp.c | ulen)); |
ulen | 655 | 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); |