Lines Matching refs:ulen
1047 int ulen = len; in udp_sendmsg() local
1089 ulen += sizeof(struct udphdr); in udp_sendmsg()
1248 skb = ip_make_skb(sk, fl4, getfrag, msg, ulen, in udp_sendmsg()
1278 up->len += ulen; in udp_sendmsg()
1279 err = ip_append_data(sk, fl4, getfrag, msg, ulen, in udp_sendmsg()
1851 unsigned int ulen, copied; in udp_recvmsg() local
1865 ulen = udp_skb_len(skb); in udp_recvmsg()
1867 if (copied > ulen - off) in udp_recvmsg()
1868 copied = ulen - off; in udp_recvmsg()
1869 else if (copied < ulen) in udp_recvmsg()
1878 if (copied < ulen || peeking || in udp_recvmsg()
1934 err = ulen; in udp_recvmsg()
2408 unsigned short ulen; in __udp4_lib_rcv() local
2421 ulen = ntohs(uh->len); in __udp4_lib_rcv()
2425 if (ulen > skb->len) in __udp4_lib_rcv()
2430 if (ulen < sizeof(*uh) || pskb_trim_rcsum(skb, ulen)) in __udp4_lib_rcv()
2482 ulen, skb->len, in __udp4_lib_rcv()
2494 ulen); in __udp4_lib_rcv()