Home
last modified time | relevance | path

Searched refs:ip_addr (Results 1 – 25 of 58) sorted by relevance

123

/linux-6.1.9/fs/cifs/
Ddns_resolve.c34 dns_resolve_server_name_to_ip(const char *unc, char **ip_addr, time64_t *expiry) in dns_resolve_server_name_to_ip() argument
41 if (!ip_addr || !unc) in dns_resolve_server_name_to_ip()
69 NULL, ip_addr, expiry, false); in dns_resolve_server_name_to_ip()
75 __func__, len, len, hostname, *ip_addr, in dns_resolve_server_name_to_ip()
87 *ip_addr = name; in dns_resolve_server_name_to_ip()
Ddns_resolve.h15 extern int dns_resolve_server_name_to_ip(const char *unc, char **ip_addr, time64_t *expiry);
/linux-6.1.9/drivers/scsi/be2iscsi/
Dbe_mgmt.c452 req->ip_addr.ip_type = ip_type; in beiscsi_if_mod_gw()
453 memcpy(req->ip_addr.addr, gw, in beiscsi_if_mod_gw()
473 if (!beiscsi_if_zero_ip(gw_resp.ip_addr.addr, ip_type)) { in beiscsi_if_set_gw()
475 gw_resp.ip_addr.addr); in beiscsi_if_set_gw()
532 req->ip_params.ip_record.ip_addr.size_of_structure = in beiscsi_if_clr_ip()
534 req->ip_params.ip_record.ip_addr.ip_type = if_info->ip_addr.ip_type; in beiscsi_if_clr_ip()
535 memcpy(req->ip_params.ip_record.ip_addr.addr, in beiscsi_if_clr_ip()
536 if_info->ip_addr.addr, in beiscsi_if_clr_ip()
537 sizeof(if_info->ip_addr.addr)); in beiscsi_if_clr_ip()
538 memcpy(req->ip_params.ip_record.ip_addr.subnet_mask, in beiscsi_if_clr_ip()
[all …]
Dbe_cmds.h510 struct be_ip_addr_subnet_format ip_addr; member
516 struct be_ip_addr_subnet_format ip_addr; member
548 struct ip_addr_format ip_addr; member
558 struct ip_addr_format ip_addr; member
Dbe_iscsi.c527 len = sprintf(buf, "%pI4\n", if_info->ip_addr.addr); in __beiscsi_iface_get_param()
530 len = sprintf(buf, "%pI6\n", if_info->ip_addr.addr); in __beiscsi_iface_get_param()
539 len = sprintf(buf, "%pI4\n", if_info->ip_addr.subnet_mask); in __beiscsi_iface_get_param()
609 len = sprintf(buf, "%pI4\n", &gateway.ip_addr.addr); in beiscsi_iface_get_param()
/linux-6.1.9/drivers/net/ethernet/rocker/
Drocker_ofdpa.c149 __be32 ip_addr; /* key */ member
1219 ofdpa_neigh_tbl_find(const struct ofdpa *ofdpa, __be32 ip_addr) in ofdpa_neigh_tbl_find() argument
1224 entry, be32_to_cpu(ip_addr)) in ofdpa_neigh_tbl_find()
1225 if (found->ip_addr == ip_addr) in ofdpa_neigh_tbl_find()
1237 be32_to_cpu(entry->ip_addr)); in ofdpa_neigh_add()
1260 int flags, __be32 ip_addr, const u8 *eth_dst) in ofdpa_port_ipv4_neigh() argument
1282 found = ofdpa_neigh_tbl_find(ofdpa, ip_addr); in ofdpa_port_ipv4_neigh()
1289 entry->ip_addr = ip_addr; in ofdpa_port_ipv4_neigh()
1331 eth_type, ip_addr, in ofdpa_port_ipv4_neigh()
1338 err, &entry->ip_addr, group_id); in ofdpa_port_ipv4_neigh()
[all …]
/linux-6.1.9/drivers/hv/
Dhv_kvp.c272 len = utf8s_to_utf16s((char *)in->body.kvp_ip_val.ip_addr, in process_ob_ipinfo()
273 strlen((char *)in->body.kvp_ip_val.ip_addr), in process_ob_ipinfo()
275 (wchar_t *)out->kvp_ip_val.ip_addr, in process_ob_ipinfo()
331 utf16s_to_utf8s((wchar_t *)in->kvp_ip_val.ip_addr, in process_ib_ipinfo()
334 (__u8 *)out->body.kvp_ip_val.ip_addr, in process_ib_ipinfo()
/linux-6.1.9/net/l2tp/
Dl2tp_core.c1348 struct sockaddr_l2tpip ip_addr = {0}; in l2tp_tunnel_sock_create() local
1355 ip_addr.l2tp_family = AF_INET; in l2tp_tunnel_sock_create()
1356 ip_addr.l2tp_addr = cfg->local_ip; in l2tp_tunnel_sock_create()
1357 ip_addr.l2tp_conn_id = tunnel_id; in l2tp_tunnel_sock_create()
1358 err = kernel_bind(sock, (struct sockaddr *)&ip_addr, in l2tp_tunnel_sock_create()
1359 sizeof(ip_addr)); in l2tp_tunnel_sock_create()
1363 ip_addr.l2tp_family = AF_INET; in l2tp_tunnel_sock_create()
1364 ip_addr.l2tp_addr = cfg->peer_ip; in l2tp_tunnel_sock_create()
1365 ip_addr.l2tp_conn_id = peer_tunnel_id; in l2tp_tunnel_sock_create()
1366 err = kernel_connect(sock, (struct sockaddr *)&ip_addr, in l2tp_tunnel_sock_create()
[all …]
/linux-6.1.9/fs/nfs/
Ddns_resolve.c23 char *ip_addr = NULL; in nfs_dns_resolve_name() local
26 ip_len = dns_query(net, NULL, name, namelen, NULL, &ip_addr, NULL, in nfs_dns_resolve_name()
29 ret = rpc_pton(net, ip_addr, ip_len, sa, salen); in nfs_dns_resolve_name()
32 kfree(ip_addr); in nfs_dns_resolve_name()
Dnfs4client.c201 const char *ip_addr = cl_init->ip_addr; in nfs4_alloc_client() local
245 if (ip_addr == NULL) { in nfs4_alloc_client()
255 ip_addr = (const char *)buf; in nfs4_alloc_client()
257 strscpy(clp->cl_ipaddr, ip_addr, sizeof(clp->cl_ipaddr)); in nfs4_alloc_client()
895 const char *ip_addr, in nfs4_set_client() argument
905 .ip_addr = ip_addr, in nfs4_set_client()
974 .ip_addr = mds_clp->cl_ipaddr, in nfs4_set_ds_client()
Dnfs3client.c90 .ip_addr = mds_clp->cl_ipaddr, in nfs3_set_ds_client()
/linux-6.1.9/drivers/firmware/
Discsi_ibft.c120 char ip_addr[16]; member
136 char ip_addr[16]; member
310 str += sprintf_ipaddr(str, nic->ip_addr); in ibft_attr_show_nic()
370 str += sprintf_ipaddr(str, tgt->ip_addr); in ibft_attr_show_target()
482 if (address_not_null(nic->ip_addr)) in ibft_check_nic_for()
/linux-6.1.9/drivers/infiniband/hw/qedr/
Dqedr_iw_cm.c690 memset(iparams.ip_addr, 0, sizeof(iparams.ip_addr)); in qedr_iw_create_listen()
692 iparams.ip_addr[0] = ntohl(laddr->sin_addr.s_addr); in qedr_iw_create_listen()
694 iparams.vlan = qedr_iw_get_vlan_ipv4(dev, iparams.ip_addr); in qedr_iw_create_listen()
699 iparams.ip_addr[i] = in qedr_iw_create_listen()
705 iparams.vlan = qedr_iw_get_vlan_ipv6(iparams.ip_addr); in qedr_iw_create_listen()
/linux-6.1.9/include/uapi/linux/
Dicmp.h158 } ip_addr; member
Dhyperv.h343 __u16 ip_addr[MAX_IP_ADDR_SIZE]; member
/linux-6.1.9/tools/testing/selftests/net/forwarding/
Dvxlan_asymmetric.sh108 local ip_addr=$1; shift
116 ip address add $ip_addr/24 dev $if_name
127 local ip_addr=$1; shift
132 ip address del $ip_addr/24 dev $if_name
Dvxlan_asymmetric_ipv6.sh108 local ip_addr=$1; shift
116 ip address add $ip_addr/64 dev $if_name
127 local ip_addr=$1; shift
132 ip address del $ip_addr/64 dev $if_name
Dvxlan_symmetric.sh118 local ip_addr=$1; shift
126 ip address add $ip_addr/24 dev $if_name
137 local ip_addr=$1; shift
142 ip address del $ip_addr/24 dev $if_name
Dvxlan_symmetric_ipv6.sh120 local ip_addr=$1; shift
128 ip address add $ip_addr/64 dev $if_name
139 local ip_addr=$1; shift
144 ip address del $ip_addr/64 dev $if_name
/linux-6.1.9/drivers/infiniband/hw/irdma/
Dutils.c13 int irdma_arp_table(struct irdma_pci_f *rf, u32 *ip_addr, bool ipv4, in irdma_arp_table() argument
21 ip[0] = *ip_addr; in irdma_arp_table()
23 memcpy(ip, ip_addr, sizeof(ip)); in irdma_arp_table()
27 if (!memcmp(rf->arp_table[arp_index].ip_addr, ip, sizeof(ip))) in irdma_arp_table()
45 memcpy(rf->arp_table[arp_index].ip_addr, ip, in irdma_arp_table()
46 sizeof(rf->arp_table[arp_index].ip_addr)); in irdma_arp_table()
59 memset(rf->arp_table[arp_index].ip_addr, 0, in irdma_arp_table()
60 sizeof(rf->arp_table[arp_index].ip_addr)); in irdma_arp_table()
384 u32 ip_addr; in irdma_add_ipv4_addr() local
402 ip_addr = ntohl(ifa->ifa_address); in irdma_add_ipv4_addr()
[all …]
Dverbs.c3840 void irdma_mcast_mac(u32 *ip_addr, u8 *mac, bool ipv4) in irdma_mcast_mac() argument
3842 u8 *ip = (u8 *)ip_addr; in irdma_mcast_mac()
3880 u32 ip_addr[4] = {}; in irdma_attach_mcast() local
3892 irdma_copy_ip_ntohl(ip_addr, in irdma_attach_mcast()
3894 irdma_netdev_vlan_ipv6(ip_addr, &vlan_id, NULL); in irdma_attach_mcast()
3898 ip_addr); in irdma_attach_mcast()
3899 irdma_mcast_mac(ip_addr, dmac, false); in irdma_attach_mcast()
3901 ip_addr[0] = ntohl(sgid_addr.saddr_in.sin_addr.s_addr); in irdma_attach_mcast()
3903 vlan_id = irdma_get_vlan_ipv4(ip_addr); in irdma_attach_mcast()
3904 irdma_mcast_mac(ip_addr, dmac, true); in irdma_attach_mcast()
[all …]
Dmain.h205 u32 ip_addr[4]; member
473 u32 *ip_addr, bool ipv4, u32 action);
/linux-6.1.9/drivers/scsi/qla4xxx/
Dql4_os.c3600 memcpy(conn->ipaddress, fw_ddb_entry->ip_addr, IPv6_ADDR_LEN); in qla4xxx_copy_from_fwddb_param()
3718 memcpy(fw_ddb_entry->ip_addr, conn->ipaddress, in qla4xxx_copy_to_fwddb_param()
3719 sizeof(fw_ddb_entry->ip_addr)); in qla4xxx_copy_to_fwddb_param()
3750 char ip_addr[DDB_IPADDR_LEN]; in qla4xxx_copy_to_sess_conn_params() local
3835 memset(ip_addr, 0, sizeof(ip_addr)); in qla4xxx_copy_to_sess_conn_params()
3836 sprintf(ip_addr, "%pI6", fw_ddb_entry->link_local_ipv6_addr); in qla4xxx_copy_to_sess_conn_params()
3838 (char *)ip_addr, 0); in qla4xxx_copy_to_sess_conn_params()
3852 char ip_addr[DDB_IPADDR_LEN]; in qla4xxx_copy_fwddb_param() local
3867 memset(ip_addr, 0, sizeof(ip_addr)); in qla4xxx_copy_fwddb_param()
3872 memset(ip_addr, 0, sizeof(ip_addr)); in qla4xxx_copy_fwddb_param()
[all …]
/linux-6.1.9/drivers/scsi/qedi/
Dqedi_iscsi.h228 char ip_addr[64]; member
/linux-6.1.9/drivers/net/ethernet/qlogic/qed/
Dqed_iwarp.h153 u32 ip_addr[4]; member

123