Home
last modified time | relevance | path

Searched refs:uhlen (Results 1 – 3 of 3) sorted by relevance

/net/l2tp/
Dl2tp_ppp.c273 int uhlen; in pppol2tp_sendmsg() local
287 uhlen = (tunnel->encap == L2TP_ENCAPTYPE_UDP) ? sizeof(struct udphdr) : 0; in pppol2tp_sendmsg()
292 uhlen + session->hdr_len + in pppol2tp_sendmsg()
303 skb_reserve(skb, uhlen); in pppol2tp_sendmsg()
350 int uhlen, headroom; in pppol2tp_xmit() local
362 uhlen = (tunnel->encap == L2TP_ENCAPTYPE_UDP) ? sizeof(struct udphdr) : 0; in pppol2tp_xmit()
365 uhlen + /* UDP header (if L2TP_ENCAPTYPE_UDP) */ in pppol2tp_xmit()
Dl2tp_core.c1017 int headroom, uhlen, udp_len; in l2tp_xmit_core() local
1026 uhlen = (tunnel->encap == L2TP_ENCAPTYPE_UDP) ? sizeof(*uh) : 0; in l2tp_xmit_core()
1027 headroom = NET_SKB_PAD + sizeof(struct iphdr) + uhlen + session->hdr_len; in l2tp_xmit_core()
1074 udp_len = uhlen + session->hdr_len + data_len; in l2tp_xmit_core()
/net/netfilter/
Dxt_l2tp.c82 int uhlen = sizeof(struct udphdr); in l2tp_udp_mt() local
83 int offs = thoff + uhlen; in l2tp_udp_mt()