Searched refs:uhlen (Results 1 – 3 of 3) sorted by relevance
273 int uhlen; in pppol2tp_sendmsg() local287 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() local362 uhlen = (tunnel->encap == L2TP_ENCAPTYPE_UDP) ? sizeof(struct udphdr) : 0; in pppol2tp_xmit()365 uhlen + /* UDP header (if L2TP_ENCAPTYPE_UDP) */ in pppol2tp_xmit()
1017 int headroom, uhlen, udp_len; in l2tp_xmit_core() local1026 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()
82 int uhlen = sizeof(struct udphdr); in l2tp_udp_mt() local83 int offs = thoff + uhlen; in l2tp_udp_mt()