Searched refs:tuncfg (Results 1 – 5 of 5) sorted by relevance
/linux/drivers/net/ |
H A D | pfcp.c | 156 struct udp_tunnel_sock_cfg tuncfg = {}; in pfcp_create_sock() local 171 tuncfg.sk_user_data = pfcp; in pfcp_create_sock() 172 tuncfg.encap_rcv = pfcp_encap_recv; in pfcp_create_sock() 173 tuncfg.encap_type = 1; in pfcp_create_sock() 175 setup_udp_tunnel_sock(net, sock, &tuncfg); in pfcp_create_sock()
|
H A D | gtp.c | 1401 struct udp_tunnel_sock_cfg tuncfg = {}; in gtp_create_sock() local 1427 tuncfg.sk_user_data = gtp; in gtp_create_sock() 1428 tuncfg.encap_type = type; in gtp_create_sock() 1429 tuncfg.encap_rcv = gtp_encap_recv; in gtp_create_sock() 1430 tuncfg.encap_destroy = NULL; in gtp_create_sock() 1432 setup_udp_tunnel_sock(net, sock, &tuncfg); in gtp_create_sock() 1644 struct udp_tunnel_sock_cfg tuncfg = {NULL}; in gtp_encap_enable_socket() local 1680 tuncfg.sk_user_data = gtp; in gtp_encap_enable_socket() 1681 tuncfg.encap_type = type; in gtp_encap_enable_socket() 1682 tuncfg.encap_rcv = gtp_encap_recv; in gtp_encap_enable_socket() [all …]
|
/linux/net/rxrpc/ |
H A D | local_object.c | 164 struct udp_tunnel_sock_cfg tuncfg = {NULL}; in rxrpc_open_socket() local 193 tuncfg.encap_type = UDP_ENCAP_RXRPC; in rxrpc_open_socket() 194 tuncfg.encap_rcv = rxrpc_encap_rcv; in rxrpc_open_socket() 195 tuncfg.encap_err_rcv = rxrpc_encap_err_rcv; in rxrpc_open_socket() 196 tuncfg.sk_user_data = local; in rxrpc_open_socket() 197 setup_udp_tunnel_sock(net, local->socket, &tuncfg); in rxrpc_open_socket()
|
/linux/net/tipc/ |
H A D | udp_media.c | 672 struct udp_tunnel_sock_cfg tuncfg = {NULL}; in tipc_udp_enable() local 773 tuncfg.sk_user_data = ub; in tipc_udp_enable() 774 tuncfg.encap_type = 1; in tipc_udp_enable() 775 tuncfg.encap_rcv = tipc_udp_recv; in tipc_udp_enable() 776 tuncfg.encap_destroy = NULL; in tipc_udp_enable() 777 setup_udp_tunnel_sock(net, ub->ubsock, &tuncfg); in tipc_udp_enable()
|
/linux/net/sctp/ |
H A D | protocol.c | 880 struct udp_tunnel_sock_cfg tuncfg = {NULL}; in sctp_udp_sock_start() local 894 tuncfg.encap_type = 1; in sctp_udp_sock_start() 895 tuncfg.encap_rcv = sctp_udp_rcv; in sctp_udp_sock_start() 896 tuncfg.encap_err_lookup = sctp_udp_v4_err; in sctp_udp_sock_start() 897 setup_udp_tunnel_sock(net, sock, &tuncfg); in sctp_udp_sock_start() 916 tuncfg.encap_type = 1; in sctp_udp_sock_start() 917 tuncfg.encap_rcv = sctp_udp_rcv; in sctp_udp_sock_start() 918 tuncfg.encap_err_lookup = sctp_udp_v6_err; in sctp_udp_sock_start() 919 setup_udp_tunnel_sock(net, sock, &tuncfg); in sctp_udp_sock_start()
|