Searched refs:ip4_addr (Results 1 – 4 of 4) sorted by relevance
/linux-6.6.21/drivers/net/ipvlan/ |
D | ipvlan_main.c | 933 static int ipvlan_add_addr4(struct ipvl_dev *ipvlan, struct in_addr *ip4_addr) in ipvlan_add_addr4() argument 938 if (ipvlan_addr_busy(ipvlan->port, ip4_addr, false)) in ipvlan_add_addr4() 941 ip4_addr, ipvlan->dev->name); in ipvlan_add_addr4() 943 ret = ipvlan_add_addr(ipvlan, ip4_addr, false); in ipvlan_add_addr4() 948 static void ipvlan_del_addr4(struct ipvl_dev *ipvlan, struct in_addr *ip4_addr) in ipvlan_del_addr4() argument 950 return ipvlan_del_addr(ipvlan, ip4_addr, false); in ipvlan_del_addr4() 959 struct in_addr ip4_addr; in ipvlan_addr4_event() local 966 ip4_addr.s_addr = if4->ifa_address; in ipvlan_addr4_event() 967 if (ipvlan_add_addr4(ipvlan, &ip4_addr)) in ipvlan_addr4_event() 972 ip4_addr.s_addr = if4->ifa_address; in ipvlan_addr4_event() [all …]
|
D | ipvlan_core.c | 50 const struct in_addr *ip4_addr = iaddr; in ipvlan_get_v4_hash() local 52 return jhash_1word(ip4_addr->s_addr, ipvlan_jhash_secret) & in ipvlan_get_v4_hash()
|
/linux-6.6.21/lib/ |
D | vsprintf.c | 1475 char ip4_addr[sizeof("255.255.255.255")]; in ip4_addr_string() local 1477 ip4_string(ip4_addr, addr, fmt); in ip4_addr_string() 1479 return string_nocheck(buf, end, ip4_addr, spec); in ip4_addr_string() 1549 char *p, ip4_addr[sizeof("255.255.255.255") + sizeof(":12345")]; in ip4_addr_string_sa() local 1550 char *pend = ip4_addr + sizeof(ip4_addr); in ip4_addr_string_sa() 1569 p = ip4_string(ip4_addr, addr, fmt4); in ip4_addr_string_sa() 1576 return string_nocheck(buf, end, ip4_addr, spec); in ip4_addr_string_sa()
|
/linux-6.6.21/drivers/infiniband/core/ |
D | cma.c | 1705 __be32 ip4_addr; in cma_match_private_data() local 1713 ip4_addr = ((struct sockaddr_in *)addr)->sin_addr.s_addr; in cma_match_private_data() 1717 hdr->dst_addr.ip4.addr != ip4_addr) in cma_match_private_data()
|