Lines Matching refs:ulen
327 unsigned int ulen, copied; in udpv6_recvmsg() local
346 ulen = udp6_skb_len(skb); in udpv6_recvmsg()
348 if (copied > ulen - off) in udpv6_recvmsg()
349 copied = ulen - off; in udpv6_recvmsg()
350 else if (copied < ulen) in udpv6_recvmsg()
362 if (copied < ulen || peeking || in udpv6_recvmsg()
434 err = ulen; in udpv6_recvmsg()
938 u32 ulen = 0; in __udp6_lib_rcv() local
947 ulen = ntohs(uh->len); in __udp6_lib_rcv()
948 if (ulen > skb->len) in __udp6_lib_rcv()
955 if (ulen == 0) in __udp6_lib_rcv()
956 ulen = skb->len; in __udp6_lib_rcv()
958 if (ulen < sizeof(*uh)) in __udp6_lib_rcv()
961 if (ulen < skb->len) { in __udp6_lib_rcv()
962 if (pskb_trim_rcsum(skb, ulen)) in __udp6_lib_rcv()
1037 ulen, skb->len, in __udp6_lib_rcv()
1337 int ulen = len; in udpv6_sendmsg() local
1422 ulen += sizeof(struct udphdr); in udpv6_sendmsg()
1574 skb = ip6_make_skb(sk, getfrag, msg, ulen, in udpv6_sendmsg()
1601 up->len += ulen; in udpv6_sendmsg()
1602 err = ip6_append_data(sk, getfrag, msg, ulen, sizeof(struct udphdr), in udpv6_sendmsg()