Home
last modified time | relevance | path

Searched refs:tuncfg (Results 1 – 4 of 4) sorted by relevance

/linux-5.19.10/net/rxrpc/
Dlocal_object.c110 struct udp_tunnel_sock_cfg tuncfg = {NULL}; in rxrpc_open_socket() local
138 tuncfg.encap_type = UDP_ENCAP_RXRPC; in rxrpc_open_socket()
139 tuncfg.encap_rcv = rxrpc_input_packet; in rxrpc_open_socket()
140 tuncfg.encap_err_rcv = rxrpc_encap_err_rcv; in rxrpc_open_socket()
141 tuncfg.sk_user_data = local; in rxrpc_open_socket()
142 setup_udp_tunnel_sock(net, local->socket, &tuncfg); in rxrpc_open_socket()
/linux-5.19.10/net/tipc/
Dudp_media.c669 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-5.19.10/drivers/net/
Dgtp.c989 struct udp_tunnel_sock_cfg tuncfg = {}; in gtp_create_sock() local
1009 tuncfg.sk_user_data = gtp; in gtp_create_sock()
1010 tuncfg.encap_type = type; in gtp_create_sock()
1011 tuncfg.encap_rcv = gtp_encap_recv; in gtp_create_sock()
1012 tuncfg.encap_destroy = NULL; in gtp_create_sock()
1014 setup_udp_tunnel_sock(net, sock, &tuncfg); in gtp_create_sock()
1205 struct udp_tunnel_sock_cfg tuncfg = {NULL}; in gtp_encap_enable_socket() local
1235 tuncfg.sk_user_data = gtp; in gtp_encap_enable_socket()
1236 tuncfg.encap_type = type; in gtp_encap_enable_socket()
1237 tuncfg.encap_rcv = gtp_encap_recv; in gtp_encap_enable_socket()
[all …]
/linux-5.19.10/net/sctp/
Dprotocol.c860 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()