Searched refs:tuncfg (Results 1 – 4 of 4) sorted by relevance
/linux/net/rxrpc/ |
A D | local_object.c | 110 struct udp_tunnel_sock_cfg tuncfg = {NULL}; in rxrpc_open_socket() local 135 tuncfg.encap_type = UDP_ENCAP_RXRPC; in rxrpc_open_socket() 136 tuncfg.encap_rcv = rxrpc_input_packet; in rxrpc_open_socket() 137 tuncfg.sk_user_data = local; in rxrpc_open_socket() 138 setup_udp_tunnel_sock(net, local->socket, &tuncfg); in rxrpc_open_socket()
|
/linux/net/tipc/ |
A D | udp_media.c | 669 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/ |
A D | protocol.c | 860 struct udp_tunnel_sock_cfg tuncfg = {NULL}; in sctp_udp_sock_start() local 874 tuncfg.encap_type = 1; in sctp_udp_sock_start() 875 tuncfg.encap_rcv = sctp_udp_rcv; in sctp_udp_sock_start() 876 tuncfg.encap_err_lookup = sctp_udp_v4_err; in sctp_udp_sock_start() 877 setup_udp_tunnel_sock(net, sock, &tuncfg); in sctp_udp_sock_start() 896 tuncfg.encap_type = 1; in sctp_udp_sock_start() 897 tuncfg.encap_rcv = sctp_udp_rcv; in sctp_udp_sock_start() 898 tuncfg.encap_err_lookup = sctp_udp_v6_err; in sctp_udp_sock_start() 899 setup_udp_tunnel_sock(net, sock, &tuncfg); in sctp_udp_sock_start()
|
/linux/drivers/net/ |
A D | gtp.c | 803 struct udp_tunnel_sock_cfg tuncfg = {NULL}; in gtp_encap_enable_socket() local 833 tuncfg.sk_user_data = gtp; in gtp_encap_enable_socket() 834 tuncfg.encap_type = type; in gtp_encap_enable_socket() 835 tuncfg.encap_rcv = gtp_encap_recv; in gtp_encap_enable_socket() 836 tuncfg.encap_destroy = gtp_encap_destroy; in gtp_encap_enable_socket() 838 setup_udp_tunnel_sock(sock_net(sock->sk), sock, &tuncfg); in gtp_encap_enable_socket()
|
Completed in 14 milliseconds