Lines Matching refs:ulen
346 unsigned int ulen, copied; in udpv6_recvmsg() local
365 ulen = udp6_skb_len(skb); in udpv6_recvmsg()
367 if (copied > ulen - off) in udpv6_recvmsg()
368 copied = ulen - off; in udpv6_recvmsg()
369 else if (copied < ulen) in udpv6_recvmsg()
381 if (copied < ulen || peeking || in udpv6_recvmsg()
452 err = ulen; in udpv6_recvmsg()
952 u32 ulen = 0; in __udp6_lib_rcv() local
961 ulen = ntohs(uh->len); in __udp6_lib_rcv()
962 if (ulen > skb->len) in __udp6_lib_rcv()
969 if (ulen == 0) in __udp6_lib_rcv()
970 ulen = skb->len; in __udp6_lib_rcv()
972 if (ulen < sizeof(*uh)) in __udp6_lib_rcv()
975 if (ulen < skb->len) { in __udp6_lib_rcv()
976 if (pskb_trim_rcsum(skb, ulen)) in __udp6_lib_rcv()
1046 ulen, skb->len, in __udp6_lib_rcv()
1346 int ulen = len; in udpv6_sendmsg() local
1429 ulen += sizeof(struct udphdr); in udpv6_sendmsg()
1580 skb = ip6_make_skb(sk, getfrag, msg, ulen, in udpv6_sendmsg()
1607 up->len += ulen; in udpv6_sendmsg()
1608 err = ip6_append_data(sk, getfrag, msg, ulen, sizeof(struct udphdr), in udpv6_sendmsg()