Home
last modified time | relevance | path

Searched refs:ip4_addr (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/net/ipvlan/
H A Dipvlan_main.c933 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 …]
H A Dipvlan_core.c50 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()
/openbmc/u-boot/lib/
H A Dtiny-printf.c127 char ip4_addr[4 * 4]; in ip4_addr_string() local
129 char *p = ip4_addr; in ip4_addr_string()
142 string(info, ip4_addr); in ip4_addr_string()
H A Dvsprintf.c363 char ip4_addr[4 * 4]; in ip4_addr_string() local
365 char *p = ip4_addr; in ip4_addr_string()
378 return string(buf, end, ip4_addr, field_width, precision, in ip4_addr_string()
/openbmc/linux/lib/
H A Dvsprintf.c1475 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()
/openbmc/linux/drivers/infiniband/core/
H A Dcma.c1707 __be32 ip4_addr; in cma_match_private_data() local
1715 ip4_addr = ((struct sockaddr_in *)addr)->sin_addr.s_addr; in cma_match_private_data()
1719 hdr->dst_addr.ip4.addr != ip4_addr) in cma_match_private_data()