/kernel/linux/linux-5.10/net/netlabel/ |
D | netlabel_kapi.c | 333 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/ |
D | netdb_porting.c | 50 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/ |
D | netdb.c | 33 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/ |
D | netdb.h | 90 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/ |
D | control.c | 38 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/ |
D | mptcp_connect.c | 106 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/ |
D | usbipd.c | 360 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()
|
D | usbip_network.c | 263 struct addrinfo hints, *res, *rp; in usbip_net_tcp_connect()
|
/kernel/liteos_a/testsuites/unittest/net/netdb/full/ |
D | net_netdb_test_002.cpp | 49 struct addrinfo *addr = NULL; in AddrInfoTest()
|
/kernel/linux/linux-5.10/drivers/char/ipmi/ |
D | ipmi_msghandler.c | 589 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/ |
D | vector_user.c | 523 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/ |
D | xdping.c | 90 struct addrinfo *a, hints = { .ai_family = AF_INET }; in main()
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
D | txtimestamp.c | 808 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/ |
D | smp.c | 1308 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/ |
D | test_memcontrol.c | 881 struct addrinfo *ai; in tcp_client()
|
/kernel/linux/linux-5.10/tools/hv/ |
D | hv_kvp_daemon.c | 1334 struct addrinfo hints, *info ; in kvp_get_domain_name()
|
/kernel/liteos_a/net/lwip-2.1/enhancement/src/ |
D | api_shell.c | 2406 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/ |
D | drivers.patch | 38795 + 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;
|