Home
last modified time | relevance | path

Searched refs:addrinfo (Results 1 – 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/net/netlabel/
Dnetlabel_kapi.c333 struct netlbl_domaddr4_map *addrinfo = NULL; in netlbl_cfg_cipsov4_map_add() local
359 addrinfo = kzalloc(sizeof(*addrinfo), GFP_ATOMIC); in netlbl_cfg_cipsov4_map_add()
360 if (addrinfo == NULL) in netlbl_cfg_cipsov4_map_add()
362 addrinfo->def.cipso = doi_def; in netlbl_cfg_cipsov4_map_add()
363 addrinfo->def.type = NETLBL_NLTYPE_CIPSOV4; in netlbl_cfg_cipsov4_map_add()
364 addrinfo->list.addr = addr->s_addr & mask->s_addr; in netlbl_cfg_cipsov4_map_add()
365 addrinfo->list.mask = mask->s_addr; in netlbl_cfg_cipsov4_map_add()
366 addrinfo->list.valid = 1; in netlbl_cfg_cipsov4_map_add()
367 ret_val = netlbl_af4list_add(&addrinfo->list, &addrmap->list4); in netlbl_cfg_cipsov4_map_add()
385 kfree(addrinfo); in netlbl_cfg_cipsov4_map_add()
[all …]
/kernel/liteos_m/components/net/lwip-2.1/porting/src/
Dnetdb_porting.c50 void freeaddrinfo(struct addrinfo *res) in freeaddrinfo()
55 int getaddrinfo(const char *restrict nodename, const char *restrict servname, const struct addrinfo in getaddrinfo()
56 struct addrinfo **restrict res) in getaddrinfo()
/kernel/uniproton/src/net/lwip-2.1/src/
Dnetdb.c33 void freeaddrinfo(struct addrinfo *res) in freeaddrinfo()
39 const struct addrinfo *restrict hints, struct addrinfo **restrict res) in getaddrinfo()
/kernel/liteos_m/kal/libc/newlib/porting/include/
Dnetdb.h90 struct addrinfo { struct
98 struct addrinfo *ai_next; argument
102 const struct addrinfo *__restrict hints, struct addrinfo **__restrict res);
103 void freeaddrinfo(struct addrinfo *res);
/kernel/linux/linux-5.10/tools/testing/vsock/
Dcontrol.c38 struct addrinfo hints = { in control_init()
41 struct addrinfo *result = NULL; in control_init()
42 struct addrinfo *ai; in control_init()
/kernel/linux/linux-5.10/tools/testing/selftests/net/mptcp/
Dmptcp_connect.c106 const struct addrinfo *hints, in xgetaddrinfo()
107 struct addrinfo **res) in xgetaddrinfo()
146 struct addrinfo hints = { in sock_listen_mptcp()
154 struct addrinfo *a, *addr; in sock_listen_mptcp()
196 struct addrinfo hints = { in sock_test_tcpulp()
200 struct addrinfo *a, *addr; in sock_test_tcpulp()
233 struct addrinfo hints = { in sock_connect_mptcp()
237 struct addrinfo *a, *addr; in sock_connect_mptcp()
/kernel/linux/linux-5.10/tools/usb/usbip/src/
Dusbipd.c360 static void addrinfo_to_text(struct addrinfo *ai, char buf[], in addrinfo_to_text()
377 static int listen_all_addrinfo(struct addrinfo *ai_head, int sockfdlist[], in listen_all_addrinfo()
380 struct addrinfo *ai; in listen_all_addrinfo()
426 static struct addrinfo *do_getaddrinfo(char *host, int ai_family) in do_getaddrinfo()
428 struct addrinfo hints, *ai_head; in do_getaddrinfo()
493 struct addrinfo *ai_head; in do_standalone_mode()
Dusbip_network.c263 struct addrinfo hints, *res, *rp; in usbip_net_tcp_connect()
/kernel/liteos_a/testsuites/unittest/net/netdb/full/
Dnet_netdb_test_002.cpp49 struct addrinfo *addr = NULL; in AddrInfoTest()
/kernel/linux/linux-5.10/drivers/char/ipmi/
Dipmi_msghandler.c589 struct ipmi_my_addrinfo addrinfo[IPMI_MAX_CHANNELS]; member
1398 user->intf->addrinfo[channel].address = address; in ipmi_set_my_address()
1420 *address = user->intf->addrinfo[channel].address; in ipmi_get_my_address()
1442 user->intf->addrinfo[channel].lun = LUN & 0x3; in ipmi_set_my_LUN()
1464 *address = user->intf->addrinfo[channel].lun; in ipmi_get_my_LUN()
2288 *lun = intf->addrinfo[addr->channel].lun; in check_addr()
2289 *saddr = intf->addrinfo[addr->channel].address; in check_addr()
2428 intf->addrinfo[0].address, in send_get_device_id_cmd()
2429 intf->addrinfo[0].lun, in send_get_device_id_cmd()
3167 intf->addrinfo[0].address, in send_guid_cmd()
[all …]
/kernel/linux/linux-5.10/arch/um/drivers/
Dvector_user.c523 struct addrinfo srchints; in user_init_socket_fds()
524 struct addrinfo dsthints; in user_init_socket_fds()
528 struct addrinfo *gairesult = NULL; in user_init_socket_fds()
575 memcpy(&srchints, &dsthints, sizeof(struct addrinfo)); in user_init_socket_fds()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
Dxdping.c90 struct addrinfo *a, hints = { .ai_family = AF_INET }; in main()
/kernel/linux/linux-5.10/tools/testing/selftests/net/
Dtxtimestamp.c808 struct addrinfo hints = { .ai_family = do_ipv4 ? AF_INET : AF_INET6 }; in resolve_hostname()
809 struct addrinfo *addrs, *cur; in resolve_hostname()
/kernel/linux/linux-5.10/net/bluetooth/
Dsmp.c1308 struct smp_cmd_ident_addr_info addrinfo; in smp_distribute_keys() local
1321 bacpy(&addrinfo.bdaddr, &hcon->src); in smp_distribute_keys()
1322 addrinfo.addr_type = hcon->src_type; in smp_distribute_keys()
1324 smp_send_cmd(conn, SMP_CMD_IDENT_ADDR_INFO, sizeof(addrinfo), in smp_distribute_keys()
1325 &addrinfo); in smp_distribute_keys()
/kernel/linux/linux-5.10/tools/testing/selftests/cgroup/
Dtest_memcontrol.c881 struct addrinfo *ai; in tcp_client()
/kernel/linux/linux-5.10/tools/hv/
Dhv_kvp_daemon.c1334 struct addrinfo hints, *info ; in kvp_get_domain_name()
/kernel/liteos_a/net/lwip-2.1/enhancement/src/
Dapi_shell.c2406 struct addrinfo *res = NULL; in parse_args_ping6()
2407 struct addrinfo hints_structure; in parse_args_ping6()
/kernel/linux/patches/linux-5.10/yangfan_patch/
Ddrivers.patch38795 + struct i2c_addr_cnt *addrinfo = (struct i2c_addr_cnt *)addrp;
38796 + int addr = addrinfo->addr;
38799 + addrinfo->cnt++;
38806 + struct i2c_addr_cnt addrinfo;
38808 + addrinfo.addr = addr;
38809 + addrinfo.cnt = 0;
38810 + device_for_each_child(&adapter->dev, &addrinfo, __i2c_check_addr_ex);
38811 + return addrinfo.cnt;