Searched refs:L2TP_ENCAPTYPE_UDP (Results 1 – 6 of 6) sorted by relevance
969 if (tunnel->encap == L2TP_ENCAPTYPE_UDP) { in l2tp_build_l2tpv3_header()1031 uhlen = (tunnel->encap == L2TP_ENCAPTYPE_UDP) ? sizeof(*uh) : 0; in l2tp_xmit_core()1078 case L2TP_ENCAPTYPE_UDP: in l2tp_xmit_core()1151 case L2TP_ENCAPTYPE_UDP: in l2tp_tunnel_destruct()1296 case L2TP_ENCAPTYPE_UDP: in l2tp_tunnel_sock_create()1404 enum l2tp_encap_type encap = L2TP_ENCAPTYPE_UDP; in l2tp_tunnel_create()1455 if ((encap == L2TP_ENCAPTYPE_UDP && sk->sk_protocol != IPPROTO_UDP) || in l2tp_validate_socket()1502 if (tunnel->encap == L2TP_ENCAPTYPE_UDP) { in l2tp_tunnel_register()1586 if (session->tunnel->encap == L2TP_ENCAPTYPE_UDP) in l2tp_session_set_header_len()
156 if (tunnel->encap == L2TP_ENCAPTYPE_UDP) in l2tp_dfs_seq_tunnel_show()161 tunnel->encap == L2TP_ENCAPTYPE_UDP ? "UDP" : in l2tp_dfs_seq_tunnel_show()
216 if (tunnel->encap == L2TP_ENCAPTYPE_UDP) { in l2tp_eth_adjust_mtu()
234 case L2TP_ENCAPTYPE_UDP: in l2tp_nl_cmd_tunnel_create()324 case L2TP_ENCAPTYPE_UDP: in l2tp_nl_tunnel_send_addr6()351 case L2TP_ENCAPTYPE_UDP: in l2tp_nl_tunnel_send_addr4()
287 uhlen = (tunnel->encap == L2TP_ENCAPTYPE_UDP) ? sizeof(struct udphdr) : 0; in pppol2tp_sendmsg()362 uhlen = (tunnel->encap == L2TP_ENCAPTYPE_UDP) ? sizeof(struct udphdr) : 0; in pppol2tp_xmit()671 .encap = L2TP_ENCAPTYPE_UDP, in pppol2tp_tunnel_get()
168 L2TP_ENCAPTYPE_UDP, enumerator