Home
last modified time | relevance | path

Searched refs:parp (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.15/net/bridge/
Dbr_arp_nd_proxy.c131 struct arphdr *parp; in br_do_proxy_suppress_arp() local
141 parp = arp_hdr(skb); in br_do_proxy_suppress_arp()
143 if (parp->ar_pro != htons(ETH_P_IP) || in br_do_proxy_suppress_arp()
144 parp->ar_hln != dev->addr_len || in br_do_proxy_suppress_arp()
145 parp->ar_pln != 4) in br_do_proxy_suppress_arp()
148 arpptr = (u8 *)parp + sizeof(struct arphdr); in br_do_proxy_suppress_arp()
163 if (parp->ar_op != htons(ARPOP_RREQUEST) && in br_do_proxy_suppress_arp()
164 parp->ar_op != htons(ARPOP_RREPLY) && in br_do_proxy_suppress_arp()
172 if (parp->ar_op != htons(ARPOP_REQUEST)) in br_do_proxy_suppress_arp()
/Linux-v5.15/drivers/net/ethernet/ti/
Dcpsw.c1300 const __be32 *parp; in cpsw_probe_dt() local
1319 parp = of_get_property(slave_node, "phy_id", &lenp); in cpsw_probe_dt()
1335 } else if (parp) { in cpsw_probe_dt()
1344 mdio_node = of_find_node_by_phandle(be32_to_cpup(parp)); in cpsw_probe_dt()
1345 phyid = be32_to_cpup(parp+1); in cpsw_probe_dt()
/Linux-v5.15/drivers/net/
Dvxlan.c1987 struct arphdr *parp; in arp_reduce() local
1999 parp = arp_hdr(skb); in arp_reduce()
2001 if ((parp->ar_hrd != htons(ARPHRD_ETHER) && in arp_reduce()
2002 parp->ar_hrd != htons(ARPHRD_IEEE802)) || in arp_reduce()
2003 parp->ar_pro != htons(ETH_P_IP) || in arp_reduce()
2004 parp->ar_op != htons(ARPOP_REQUEST) || in arp_reduce()
2005 parp->ar_hln != dev->addr_len || in arp_reduce()
2006 parp->ar_pln != 4) in arp_reduce()
2008 arpptr = (u8 *)parp + sizeof(struct arphdr); in arp_reduce()