/openbmc/linux/samples/bpf/ |
H A D | xdp_router_ipv4_user.c | 120 if (rtm_family == AF_INET) in read_route() 156 if (rtm_family == AF_INET) { in read_route() 214 get_route_table(AF_INET); in read_route() 355 if (ndm_family == AF_INET) { in read_arp() 497 if (get_arp_table(AF_INET) < 0) { in monitor_routes_thread() 502 if (get_route_table(AF_INET) < 0) { in monitor_routes_thread()
|
H A D | net_shared.h | 5 #define AF_INET 2 macro
|
H A D | test_overhead_user.c | 71 fd = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); in test_fib_table_lookup() 79 addr.sin_family = AF_INET; in test_fib_table_lookup()
|
/openbmc/linux/arch/um/drivers/ |
H A D | umcast_user.c | 32 sin->sin_family = AF_INET; in new_addr() 78 fd = socket(AF_INET, SOCK_DGRAM, 0); in umcast_open()
|
/openbmc/linux/tools/testing/selftests/bpf/map_tests/ |
H A D | lpm_trie_map_batch_ops.c | 36 inet_pton(AF_INET, buff, &keys[i].ipv4); in map_batch_update() 53 inet_ntop(AF_INET, &keys[i].ipv4, buff, 32); in map_batch_verify()
|
/openbmc/linux/net/netfilter/ipvs/ |
H A D | ip_vs_ftp.c | 192 if (af == AF_INET && *s != '1') in ip_vs_ftp_get_addrport() 445 if (cp->af == AF_INET && in ip_vs_ftp_in() 468 if (cp->af == AF_INET && proto == '1') { in ip_vs_ftp_in() 491 if (cp->af == AF_INET && in ip_vs_ftp_in()
|
/openbmc/linux/net/rxrpc/ |
H A D | peer_object.c | 43 case AF_INET: in rxrpc_peer_hash_key() 92 case AF_INET: in rxrpc_peer_cmp_key() 166 case AF_INET: in rxrpc_assess_MTU_size() 248 case AF_INET: in rxrpc_init_peer()
|
H A D | peer_event.c | 45 case AF_INET: in rxrpc_lookup_peer_local_rcu() 47 srx->transport.family = AF_INET; in rxrpc_lookup_peer_local_rcu() 78 srx->transport.family = AF_INET; in rxrpc_lookup_peer_local_rcu()
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | bind_perm.c | 36 return bind_prog(ctx, AF_INET); in bind_v4_prog()
|
H A D | connect_ping.c | 25 .sin_family = AF_INET, in connect_v4_prog()
|
/openbmc/phosphor-host-ipmid/ |
H A D | transporthandler.cpp | 279 return getIfAddr<AF_INET>(bus, params, 0, originsV4); in getIfAddr4() 299 uint8_t fallbackPrefix = AddrFamily<AF_INET>::defaultPrefix; in reconfigureIfAddr4() 308 createIfAddr<AF_INET>(bus, params, addr, in reconfigureIfAddr4() 548 auto ifaddr4 = findIfAddr<AF_INET>(bus, params, 0, originsV4, ips); in reconfigureVLAN() 561 auto neighbor4 = findGatewayNeighbor<AF_INET>(bus, params, neighbors); in reconfigureVLAN() 573 createIfAddr<AF_INET>(bus, params, ifaddr4->address, ifaddr4->prefix); in reconfigureVLAN() 581 createNeighbor<AF_INET>(bus, params, neighbor4->ip, neighbor4->mac); in reconfigureVLAN() 850 channelCall<setGatewayProperty<AF_INET>>(channel, gateway); in setLanInt() 857 channelCall<reconfigureGatewayMAC<AF_INET>>(channel, gatewayMAC); in setLanInt() 1180 uint8_t prefix = AddrFamily<AF_INET>::defaultPrefix; in getLan() [all …]
|
/openbmc/linux/net/core/ |
H A D | sock_diag.c | 257 sock_load_diag_module(AF_INET, 0); in sock_diag_rcv_msg() 289 if (!READ_ONCE(sock_diag_handlers[AF_INET])) in sock_diag_bind() 290 sock_load_diag_module(AF_INET, 0); in sock_diag_bind()
|
/openbmc/google-misc/subprojects/ncsid/src/ |
H A D | normalize_ip.c | 42 af = AF_INET; in main()
|
/openbmc/linux/fs/smb/client/ |
H A D | cifs_swn.c | 417 if (addr1->ss_family == AF_INET) { in cifs_sockaddr_equal() 438 if (old->ss_family == AF_INET) { in cifs_swn_store_swn_addr() 448 if (new->ss_family == AF_INET) { in cifs_swn_store_swn_addr() 514 if (addr->ss_family == AF_INET) in cifs_swn_client_move() 642 case AF_INET: in cifs_swn_dump()
|
/openbmc/openbmc/meta-google/recipes-google/networking/files/ |
H A D | iperf3.service | 16 RestrictAddressFamilies=AF_INET AF_INET6 AF_UNIX
|
/openbmc/linux/net/rds/ |
H A D | tcp_connect.c | 141 sin.sin_family = AF_INET; in rds_tcp_conn_path_connect() 164 sin.sin_family = AF_INET; in rds_tcp_conn_path_connect()
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | xdping.c | 57 inet_ntop(AF_INET, &inaddr, inaddrbuf, in get_stats() 90 struct addrinfo *a, hints = { .ai_family = AF_INET }; in main()
|
/openbmc/linux/include/trace/events/ |
H A D | neigh.h | 51 if (tbl->family == AF_INET) 117 if (n->tbl->family == AF_INET) 194 if (n->tbl->family == AF_INET)
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | toeplitz.c | 176 if (cfg_family == AF_INET) { in verify_rxhash() 314 if (cfg_family == AF_INET) in set_filter() 362 ll.sll_protocol = cfg_family == AF_INET ? htons(ETH_P_IP) : in create_ring() 508 cfg_family = AF_INET; in parse_opts()
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | cls_redirect.c | 77 case AF_INET: in fill_addr_port() 147 case AF_INET: in prepare_addr() 306 case AF_INET: in build_input() 372 int families[] = { AF_INET, AF_INET6 }; in test_cls_redirect_common()
|
H A D | bpf_nf.c | 38 fd = socket(AF_INET, SOCK_STREAM, 0); in connect_to_server() 76 srv_fd = start_server(AF_INET, SOCK_STREAM, "127.0.0.1", srv_port, TIMEOUT_MS); in test_bpf_nf_ct()
|
/openbmc/linux/net/ipv4/ |
H A D | ah4.c | 461 ah->spi, IPPROTO_AH, AF_INET); in ah4_err() 582 if (xfrm_register_type(&ah_type, AF_INET) < 0) { in ah4_init() 588 xfrm_unregister_type(&ah_type, AF_INET); in ah4_init() 598 xfrm_unregister_type(&ah_type, AF_INET); in ah4_fini() 604 MODULE_ALIAS_XFRM_TYPE(AF_INET, XFRM_PROTO_AH);
|
/openbmc/openbmc/meta-google/recipes-google/ncsi/files/ |
H A D | gbmc-ncsi-sslh.service | 19 RestrictAddressFamilies=AF_INET AF_INET6 AF_UNIX
|
/openbmc/linux/include/rdma/ |
H A D | ib_addr.h | 117 case AF_INET: in rdma_ip2gid() 138 out_in->sin_family = AF_INET; in rdma_gid2ip()
|
/openbmc/u-boot/tools/ |
H A D | ncb.c | 23 addr.sin_family = AF_INET; in main()
|