Home
last modified time | relevance | path

Searched refs:udp_len (Results 1 – 2 of 2) sorted by relevance

/linux/net/core/
H A Dnetpoll.c395 int total_len, ip_len, udp_len; in netpoll_send_udp() local
406 udp_len = len + sizeof(*udph); in netpoll_send_udp()
408 ip_len = udp_len + sizeof(*ip6h); in netpoll_send_udp()
410 ip_len = udp_len + sizeof(*iph); in netpoll_send_udp()
427 udph->len = htons(udp_len); in netpoll_send_udp()
433 udp_len, IPPROTO_UDP, in netpoll_send_udp()
434 csum_partial(udph, udp_len, 0)); in netpoll_send_udp()
461 udp_len, IPPROTO_UDP, in netpoll_send_udp()
462 csum_partial(udph, udp_len, 0)); in netpoll_send_udp()
/linux/net/l2tp/
H A Dl2tp_core.c1227 int headroom, uhlen, udp_len; in l2tp_xmit_core() local
1290 udp_len = uhlen + session->hdr_len + data_len; in l2tp_xmit_core()
1291 uh->len = htons(udp_len); in l2tp_xmit_core()
1298 &sk->sk_v6_daddr, udp_len); in l2tp_xmit_core()
1302 inet->inet_daddr, udp_len); in l2tp_xmit_core()