Home
last modified time | relevance | path

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

/linux/drivers/net/ipvlan/
H A Dipvlan_main.c936 static int ipvlan_add_addr4(struct ipvl_dev *ipvlan, struct in_addr *ip4_addr) in ipvlan_add_addr4() argument
941 if (ipvlan_addr_busy(ipvlan->port, ip4_addr, false)) in ipvlan_add_addr4()
944 ip4_addr, ipvlan->dev->name); in ipvlan_add_addr4()
946 ret = ipvlan_add_addr(ipvlan, ip4_addr, false); in ipvlan_add_addr4()
951 static void ipvlan_del_addr4(struct ipvl_dev *ipvlan, struct in_addr *ip4_addr) in ipvlan_del_addr4() argument
953 return ipvlan_del_addr(ipvlan, ip4_addr, false); in ipvlan_del_addr4()
962 struct in_addr ip4_addr; in ipvlan_addr4_event() local
969 ip4_addr.s_addr = if4->ifa_address; in ipvlan_addr4_event()
970 if (ipvlan_add_addr4(ipvlan, &ip4_addr)) in ipvlan_addr4_event()
975 ip4_addr.s_addr = if4->ifa_address; in ipvlan_addr4_event()
[all …]
H A Dipvlan_core.c53 const struct in_addr *ip4_addr = iaddr; in ipvlan_get_v4_hash() local
55 return jhash_1word(ip4_addr->s_addr, ipvlan_jhash_secret) & in ipvlan_get_v4_hash()
/linux/lib/
H A Dvsprintf.c1511 char ip4_addr[sizeof("255.255.255.255")]; in ip4_addr_string() local
1513 ip4_string(ip4_addr, addr, fmt); in ip4_addr_string()
1515 return string_nocheck(buf, end, ip4_addr, spec); in ip4_addr_string()
1585 char *p, ip4_addr[sizeof("255.255.255.255") + sizeof(":12345")]; in ip4_addr_string_sa() local
1586 char *pend = ip4_addr + sizeof(ip4_addr); in ip4_addr_string_sa()
1605 p = ip4_string(ip4_addr, addr, fmt4); in ip4_addr_string_sa()
1612 return string_nocheck(buf, end, ip4_addr, spec); in ip4_addr_string_sa()
/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()