Searched refs:udp_conf (Results 1 – 9 of 9) sorted by relevance
/linux-6.6.21/net/rxrpc/ |
D | local_object.c | 166 struct udp_port_cfg udp_conf = {0}; in rxrpc_open_socket() local 174 udp_conf.family = srx->transport.family; in rxrpc_open_socket() 175 udp_conf.use_udp_checksums = true; in rxrpc_open_socket() 176 if (udp_conf.family == AF_INET) { in rxrpc_open_socket() 177 udp_conf.local_ip = srx->transport.sin.sin_addr; in rxrpc_open_socket() 178 udp_conf.local_udp_port = srx->transport.sin.sin_port; in rxrpc_open_socket() 181 udp_conf.local_ip6 = srx->transport.sin6.sin6_addr; in rxrpc_open_socket() 182 udp_conf.local_udp_port = srx->transport.sin6.sin6_port; in rxrpc_open_socket() 183 udp_conf.use_udp6_tx_checksums = true; in rxrpc_open_socket() 184 udp_conf.use_udp6_rx_checksums = true; in rxrpc_open_socket() [all …]
|
/linux-6.6.21/net/tipc/ |
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() 751 udp_conf.family = AF_INET6; in tipc_udp_enable() 752 udp_conf.use_udp6_tx_checksums = true; in tipc_udp_enable() 753 udp_conf.use_udp6_rx_checksums = true; in tipc_udp_enable() 755 udp_conf.local_ip6 = in6addr_any; in tipc_udp_enable() 757 udp_conf.local_ip6 = local.ipv6; in tipc_udp_enable() [all …]
|
/linux-6.6.21/net/l2tp/ |
D | l2tp_core.c | 1282 struct udp_port_cfg udp_conf; in l2tp_tunnel_sock_create() local 1286 memset(&udp_conf, 0, sizeof(udp_conf)); in l2tp_tunnel_sock_create() 1290 udp_conf.family = AF_INET6; in l2tp_tunnel_sock_create() 1291 memcpy(&udp_conf.local_ip6, cfg->local_ip6, in l2tp_tunnel_sock_create() 1292 sizeof(udp_conf.local_ip6)); in l2tp_tunnel_sock_create() 1293 memcpy(&udp_conf.peer_ip6, cfg->peer_ip6, in l2tp_tunnel_sock_create() 1294 sizeof(udp_conf.peer_ip6)); in l2tp_tunnel_sock_create() 1295 udp_conf.use_udp6_tx_checksums = in l2tp_tunnel_sock_create() 1297 udp_conf.use_udp6_rx_checksums = in l2tp_tunnel_sock_create() 1302 udp_conf.family = AF_INET; in l2tp_tunnel_sock_create() [all …]
|
/linux-6.6.21/net/sctp/ |
D | protocol.c | 866 struct udp_port_cfg udp_conf = {0}; in sctp_udp_sock_start() local 870 udp_conf.family = AF_INET; in sctp_udp_sock_start() 871 udp_conf.local_ip.s_addr = htonl(INADDR_ANY); in sctp_udp_sock_start() 872 udp_conf.local_udp_port = htons(net->sctp.udp_port); in sctp_udp_sock_start() 873 err = udp_sock_create(net, &udp_conf, &sock); in sctp_udp_sock_start() 886 memset(&udp_conf, 0, sizeof(udp_conf)); in sctp_udp_sock_start() 888 udp_conf.family = AF_INET6; in sctp_udp_sock_start() 889 udp_conf.local_ip6 = in6addr_any; in sctp_udp_sock_start() 890 udp_conf.local_udp_port = htons(net->sctp.udp_port); in sctp_udp_sock_start() 891 udp_conf.use_udp6_rx_checksums = true; in sctp_udp_sock_start() [all …]
|
/linux-6.6.21/drivers/net/ |
D | bareudp.c | 219 struct udp_port_cfg udp_conf; in bareudp_create_sock() local 223 memset(&udp_conf, 0, sizeof(udp_conf)); in bareudp_create_sock() 226 udp_conf.family = AF_INET6; in bareudp_create_sock() 228 udp_conf.family = AF_INET; in bareudp_create_sock() 230 udp_conf.local_udp_port = port; in bareudp_create_sock() 232 err = udp_sock_create(net, &udp_conf, &sock); in bareudp_create_sock()
|
D | geneve.c | 457 struct udp_port_cfg udp_conf; in geneve_create_sock() local 460 memset(&udp_conf, 0, sizeof(udp_conf)); in geneve_create_sock() 463 udp_conf.family = AF_INET6; in geneve_create_sock() 464 udp_conf.ipv6_v6only = 1; in geneve_create_sock() 465 udp_conf.use_udp6_rx_checksums = ipv6_rx_csum; in geneve_create_sock() 467 udp_conf.family = AF_INET; in geneve_create_sock() 468 udp_conf.local_ip.s_addr = htonl(INADDR_ANY); in geneve_create_sock() 471 udp_conf.local_udp_port = port; in geneve_create_sock() 474 err = udp_sock_create(net, &udp_conf, &sock); in geneve_create_sock()
|
D | gtp.c | 994 struct udp_port_cfg udp_conf = { in gtp_create_sock() local 1003 udp_conf.local_udp_port = htons(GTP0_PORT); in gtp_create_sock() 1005 udp_conf.local_udp_port = htons(GTP1U_PORT); in gtp_create_sock() 1009 err = udp_sock_create(net, &udp_conf, &sock); in gtp_create_sock()
|
D | amt.c | 2944 struct udp_port_cfg udp_conf; in amt_create_sock() local 2948 memset(&udp_conf, 0, sizeof(udp_conf)); in amt_create_sock() 2949 udp_conf.family = AF_INET; in amt_create_sock() 2950 udp_conf.local_ip.s_addr = htonl(INADDR_ANY); in amt_create_sock() 2952 udp_conf.local_udp_port = port; in amt_create_sock() 2954 err = udp_sock_create(net, &udp_conf, &sock); in amt_create_sock()
|
/linux-6.6.21/drivers/net/vxlan/ |
D | vxlan_core.c | 3394 struct udp_port_cfg udp_conf; in vxlan_create_sock() local 3397 memset(&udp_conf, 0, sizeof(udp_conf)); in vxlan_create_sock() 3400 udp_conf.family = AF_INET6; in vxlan_create_sock() 3401 udp_conf.use_udp6_rx_checksums = in vxlan_create_sock() 3403 udp_conf.ipv6_v6only = 1; in vxlan_create_sock() 3405 udp_conf.family = AF_INET; in vxlan_create_sock() 3408 udp_conf.local_udp_port = port; in vxlan_create_sock() 3409 udp_conf.bind_ifindex = ifindex; in vxlan_create_sock() 3412 err = udp_sock_create(net, &udp_conf, &sock); in vxlan_create_sock()
|