tag | line | file | source code |
ulen | 123 | include/linux/socket.h | extern int move_addr_to_user(void *kaddr, int klen, void *uaddr, int *ulen); |
ulen | 124 | include/linux/socket.h | extern int move_addr_to_kernel(void *uaddr, int ulen, void *kaddr); |
ulen | 298 | net/ipv4/udp.c | int ulen = len + sizeof(struct udphdr); |
ulen | 302 | net/ipv4/udp.c | if(ulen>65535-sizeof(struct iphdr)) |
ulen | 307 | net/ipv4/udp.c | ufh.uh.len = htons(ulen); |
ulen | 310 | net/ipv4/udp.c | ufh.other = (htons(ulen) << 16) + IPPROTO_UDP*256; |
ulen | 320 | net/ipv4/udp.c | a = ip_build_xmit(sk, udp_getfrag_nosum, &ufh, ulen, |
ulen | 323 | net/ipv4/udp.c | a = ip_build_xmit(sk, udp_getfrag, &ufh, ulen, |
ulen | 596 | net/ipv4/udp.c | unsigned short ulen; |
ulen | 614 | net/ipv4/udp.c | ulen = ntohs(uh->len); |
ulen | 616 | net/ipv4/udp.c | if (ulen > len || len < sizeof(*uh) || ulen < sizeof(*uh)) |
ulen | 618 | net/ipv4/udp.c | NETDEBUG(printk("UDP: short packet: %d/%d\n", ulen, len)); |
ulen | 646 | net/ipv4/udp.c | ulen)); |
ulen | 653 | net/ipv4/udp.c | len=ulen; |
ulen | 122 | net/socket.c | int move_addr_to_kernel(void *uaddr, int ulen, void *kaddr) |
ulen | 125 | net/socket.c | if(ulen<0||ulen>MAX_SOCK_ADDR) |
ulen | 127 | net/socket.c | if(ulen==0) |
ulen | 129 | net/socket.c | if((err=verify_area(VERIFY_READ,uaddr,ulen))<0) |
ulen | 131 | net/socket.c | memcpy_fromfs(kaddr,uaddr,ulen); |
ulen | 135 | net/socket.c | int move_addr_to_user(void *kaddr, int klen, void *uaddr, int *ulen) |
ulen | 141 | net/socket.c | if((err=verify_area(VERIFY_WRITE,ulen,sizeof(*ulen)))<0) |
ulen | 143 | net/socket.c | len=get_user(ulen); |
ulen | 154 | net/socket.c | put_user(len,ulen); |