Searched refs:udp_len (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/net/core/ |
D | netpoll.c | 364 int total_len, ip_len, udp_len; in netpoll_send_udp() local 374 udp_len = len + sizeof(*udph); in netpoll_send_udp() 376 ip_len = udp_len + sizeof(*ip6h); in netpoll_send_udp() 378 ip_len = udp_len + sizeof(*iph); in netpoll_send_udp() 395 udph->len = htons(udp_len); in netpoll_send_udp() 401 udp_len, IPPROTO_UDP, in netpoll_send_udp() 402 csum_partial(udph, udp_len, 0)); in netpoll_send_udp() 429 udp_len, IPPROTO_UDP, in netpoll_send_udp() 430 csum_partial(udph, udp_len, 0)); in netpoll_send_udp()
|
/Linux-v4.19/net/l2tp/ |
D | l2tp_core.c | 1060 int udp_len; in l2tp_xmit_skb() local 1113 udp_len = uhlen + hdr_len + data_len; in l2tp_xmit_skb() 1114 uh->len = htons(udp_len); in l2tp_xmit_skb() 1121 &sk->sk_v6_daddr, udp_len); in l2tp_xmit_skb() 1125 inet->inet_daddr, udp_len); in l2tp_xmit_skb()
|