Searched refs:udp_conf (Results 1 – 8 of 8) sorted by relevance
/linux/net/rxrpc/ |
A D | local_object.c | 112 struct udp_port_cfg udp_conf = {0}; in rxrpc_open_socket() local 119 udp_conf.family = srx->transport.family; in rxrpc_open_socket() 120 if (udp_conf.family == AF_INET) { in rxrpc_open_socket() 121 udp_conf.local_ip = srx->transport.sin.sin_addr; in rxrpc_open_socket() 122 udp_conf.local_udp_port = srx->transport.sin.sin_port; in rxrpc_open_socket() 125 udp_conf.local_ip6 = srx->transport.sin6.sin6_addr; in rxrpc_open_socket() 126 udp_conf.local_udp_port = srx->transport.sin6.sin6_port; in rxrpc_open_socket() 129 ret = udp_sock_create(net, &udp_conf, &local->socket); in rxrpc_open_socket()
|
/linux/net/tipc/ |
A D | udp_media.c | 668 struct udp_port_cfg udp_conf = {0}; in tipc_udp_enable() local 732 udp_conf.family = AF_INET; in tipc_udp_enable() 736 udp_conf.local_ip.s_addr = htonl(INADDR_ANY); in tipc_udp_enable() 738 udp_conf.local_ip.s_addr = local.ipv4.s_addr; in tipc_udp_enable() 739 udp_conf.use_udp_checksums = false; in tipc_udp_enable() 755 udp_conf.family = AF_INET6; in tipc_udp_enable() 756 udp_conf.use_udp6_tx_checksums = true; in tipc_udp_enable() 757 udp_conf.use_udp6_rx_checksums = true; in tipc_udp_enable() 759 udp_conf.local_ip6 = in6addr_any; in tipc_udp_enable() 761 udp_conf.local_ip6 = local.ipv6; in tipc_udp_enable() [all …]
|
/linux/net/l2tp/ |
A D | l2tp_core.c | 1281 struct udp_port_cfg udp_conf; in l2tp_tunnel_sock_create() local 1285 memset(&udp_conf, 0, sizeof(udp_conf)); in l2tp_tunnel_sock_create() 1289 udp_conf.family = AF_INET6; in l2tp_tunnel_sock_create() 1291 sizeof(udp_conf.local_ip6)); in l2tp_tunnel_sock_create() 1292 memcpy(&udp_conf.peer_ip6, cfg->peer_ip6, in l2tp_tunnel_sock_create() 1293 sizeof(udp_conf.peer_ip6)); in l2tp_tunnel_sock_create() 1294 udp_conf.use_udp6_tx_checksums = in l2tp_tunnel_sock_create() 1296 udp_conf.use_udp6_rx_checksums = in l2tp_tunnel_sock_create() 1301 udp_conf.family = AF_INET; in l2tp_tunnel_sock_create() 1302 udp_conf.local_ip = cfg->local_ip; in l2tp_tunnel_sock_create() [all …]
|
/linux/net/sctp/ |
A D | protocol.c | 861 struct udp_port_cfg udp_conf = {0}; in sctp_udp_sock_start() local 865 udp_conf.family = AF_INET; in sctp_udp_sock_start() 866 udp_conf.local_ip.s_addr = htonl(INADDR_ANY); in sctp_udp_sock_start() 867 udp_conf.local_udp_port = htons(net->sctp.udp_port); in sctp_udp_sock_start() 868 err = udp_sock_create(net, &udp_conf, &sock); in sctp_udp_sock_start() 881 memset(&udp_conf, 0, sizeof(udp_conf)); in sctp_udp_sock_start() 883 udp_conf.family = AF_INET6; in sctp_udp_sock_start() 884 udp_conf.local_ip6 = in6addr_any; in sctp_udp_sock_start() 886 udp_conf.use_udp6_rx_checksums = true; in sctp_udp_sock_start() 887 udp_conf.ipv6_v6only = true; in sctp_udp_sock_start() [all …]
|
/linux/drivers/net/ |
A D | bareudp.c | 212 struct udp_port_cfg udp_conf; in bareudp_create_sock() local 216 memset(&udp_conf, 0, sizeof(udp_conf)); in bareudp_create_sock() 218 udp_conf.family = AF_INET6; in bareudp_create_sock() 220 udp_conf.family = AF_INET; in bareudp_create_sock() 222 udp_conf.local_udp_port = port; in bareudp_create_sock() 224 err = udp_sock_create(net, &udp_conf, &sock); in bareudp_create_sock()
|
A D | geneve.c | 443 struct udp_port_cfg udp_conf; in geneve_create_sock() local 446 memset(&udp_conf, 0, sizeof(udp_conf)); in geneve_create_sock() 449 udp_conf.family = AF_INET6; in geneve_create_sock() 450 udp_conf.ipv6_v6only = 1; in geneve_create_sock() 451 udp_conf.use_udp6_rx_checksums = ipv6_rx_csum; in geneve_create_sock() 453 udp_conf.family = AF_INET; in geneve_create_sock() 454 udp_conf.local_ip.s_addr = htonl(INADDR_ANY); in geneve_create_sock() 457 udp_conf.local_udp_port = port; in geneve_create_sock() 460 err = udp_sock_create(net, &udp_conf, &sock); in geneve_create_sock()
|
A D | amt.c | 2801 struct udp_port_cfg udp_conf; in amt_create_sock() local 2805 memset(&udp_conf, 0, sizeof(udp_conf)); in amt_create_sock() 2806 udp_conf.family = AF_INET; in amt_create_sock() 2807 udp_conf.local_ip.s_addr = htonl(INADDR_ANY); in amt_create_sock() 2809 udp_conf.local_udp_port = port; in amt_create_sock() 2811 err = udp_sock_create(net, &udp_conf, &sock); in amt_create_sock()
|
A D | vxlan.c | 3477 struct udp_port_cfg udp_conf; in vxlan_create_sock() local 3480 memset(&udp_conf, 0, sizeof(udp_conf)); in vxlan_create_sock() 3483 udp_conf.family = AF_INET6; in vxlan_create_sock() 3484 udp_conf.use_udp6_rx_checksums = in vxlan_create_sock() 3486 udp_conf.ipv6_v6only = 1; in vxlan_create_sock() 3488 udp_conf.family = AF_INET; in vxlan_create_sock() 3491 udp_conf.local_udp_port = port; in vxlan_create_sock() 3492 udp_conf.bind_ifindex = ifindex; in vxlan_create_sock() 3495 err = udp_sock_create(net, &udp_conf, &sock); in vxlan_create_sock()
|
Completed in 50 milliseconds