Home
last modified time | relevance | path

Searched refs:L2TP_ENCAPTYPE_UDP (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/net/l2tp/
H A Dl2tp_core.c969 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()
H A Dl2tp_debugfs.c156 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()
H A Dl2tp_eth.c216 if (tunnel->encap == L2TP_ENCAPTYPE_UDP) { in l2tp_eth_adjust_mtu()
H A Dl2tp_netlink.c234 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()
H A Dl2tp_ppp.c287 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()
/openbmc/linux/include/uapi/linux/
H A Dl2tp.h168 L2TP_ENCAPTYPE_UDP, enumerator