Home
last modified time | relevance | path

Searched refs:ar_hrd (Results 1 – 13 of 13) sorted by relevance

/linux-3.4.99/net/ipv4/
Darp.c627 arp->ar_hrd = htons(dev->type); in arp_create()
633 arp->ar_hrd = htons(ARPHRD_AX25); in arp_create()
639 arp->ar_hrd = htons(ARPHRD_NETROM); in arp_create()
647 arp->ar_hrd = htons(ARPHRD_ETHER); in arp_create()
653 arp->ar_hrd = htons(ARPHRD_IEEE802); in arp_create()
750 htons(dev_type) != arp->ar_hrd) in arp_process()
766 if ((arp->ar_hrd != htons(ARPHRD_ETHER) && in arp_process()
767 arp->ar_hrd != htons(ARPHRD_IEEE802)) || in arp_process()
773 arp->ar_hrd != htons(ARPHRD_AX25)) in arp_process()
778 arp->ar_hrd != htons(ARPHRD_NETROM)) in arp_process()
Dipconfig.c507 if (rarp->ar_hln != dev->addr_len || dev->type != ntohs(rarp->ar_hrd)) in ic_rarp_recv()
/linux-3.4.99/net/bridge/netfilter/
Debt_arp.c32 ah->ar_hrd, EBT_ARP_HTYPE)) in ebt_arp_mt()
70 if (ah->ar_hln != ETH_ALEN || ah->ar_hrd != htons(ARPHRD_ETHER)) in ebt_arp_mt()
Debt_log.c147 ntohs(ah->ar_hrd), ntohs(ah->ar_pro), in ebt_log_packet()
152 if (ah->ar_hrd == htons(1) && in ebt_log_packet()
/linux-3.4.99/include/linux/
Dif_arp.h138 __be16 ar_hrd; /* format of hardware address */ member
/linux-3.4.99/net/openvswitch/
Dflow.h112 __be16 ar_hrd; /* format of hardware address */ member
Dflow.c707 if (arp->ar_hrd == htons(ARPHRD_ETHER) in ovs_flow_extract()
/linux-3.4.99/net/core/
Dnetpoll.c467 if ((arp->ar_hrd != htons(ARPHRD_ETHER) && in arp_reply()
468 arp->ar_hrd != htons(ARPHRD_IEEE802)) || in arp_reply()
522 arp->ar_hrd = htons(np->dev->type); in arp_reply()
/linux-3.4.99/net/ipv4/netfilter/
Dipt_CLUSTERIP.c498 if (arp->ar_hrd != htons(ARPHRD_ETHER) || in arp_mangle()
Darp_tables.c122 if (FWINV((arphdr->ar_hrd & arpinfo->arhrd_mask) != arpinfo->arhrd, in arp_packet_match()
126 arphdr->ar_hrd, arpinfo->arhrd, arpinfo->arhrd_mask); in arp_packet_match()
/linux-3.4.99/drivers/net/ethernet/via/
Dvia-velocity.h1210 __be16 ar_hrd; member
/linux-3.4.99/drivers/net/wireless/wl12xx/
Dcmd.c1260 arp_hdr->ar_hrd = cpu_to_be16(ARPHRD_ETHER); in wl1271_cmd_build_arp_rsp()
/linux-3.4.99/drivers/net/bonding/
Dbond_main.c2766 arp->ar_hrd != htons(ARPHRD_ETHER) || in bond_arp_rcv()