Searched refs:arp (Results 1 – 10 of 10) sorted by relevance
/drivers/net/bonding/ |
D | bond_alb.c | 85 static void rlb_purge_src_ip(struct bonding *bond, struct arp_pkt *arp); 276 static void rlb_update_entry_from_arp(struct bonding *bond, struct arp_pkt *arp) in rlb_update_entry_from_arp() argument 284 hash_index = _simple_hash((u8 *)&(arp->ip_src), sizeof(arp->ip_src)); in rlb_update_entry_from_arp() 288 (client_info->ip_src == arp->ip_dst) && in rlb_update_entry_from_arp() 289 (client_info->ip_dst == arp->ip_src) && in rlb_update_entry_from_arp() 290 (!ether_addr_equal_64bits(client_info->mac_dst, arp->mac_src))) { in rlb_update_entry_from_arp() 292 ether_addr_copy(client_info->mac_dst, arp->mac_src); in rlb_update_entry_from_arp() 303 struct arp_pkt *arp, _arp; in rlb_arp_recv() local 308 arp = skb_header_pointer(skb, 0, sizeof(_arp), &_arp); in rlb_arp_recv() 309 if (!arp) in rlb_arp_recv() [all …]
|
D | bond_main.c | 2308 struct arphdr *arp = (struct arphdr *)skb->data; in bond_arp_rcv() local 2329 arp = kmalloc(alen, GFP_ATOMIC); in bond_arp_rcv() 2330 if (!arp) in bond_arp_rcv() 2332 if (skb_copy_bits(skb, 0, arp, alen) < 0) in bond_arp_rcv() 2336 if (arp->ar_hln != bond->dev->addr_len || in bond_arp_rcv() 2339 arp->ar_hrd != htons(ARPHRD_ETHER) || in bond_arp_rcv() 2340 arp->ar_pro != htons(ETH_P_IP) || in bond_arp_rcv() 2341 arp->ar_pln != 4) in bond_arp_rcv() 2344 arp_ptr = (unsigned char *)(arp + 1); in bond_arp_rcv() 2378 if (arp != (struct arphdr *)skb->data) in bond_arp_rcv() [all …]
|
/drivers/net/wireless/mwifiex/ |
D | sta_rx.c | 38 const struct mwifiex_arp_eth_header *arp; in mwifiex_discard_gratuitous_arp() local 46 arp = (void *)(skb->data + sizeof(struct ethhdr)); in mwifiex_discard_gratuitous_arp() 47 if (arp->hdr.ar_op == htons(ARPOP_REPLY) || in mwifiex_discard_gratuitous_arp() 48 arp->hdr.ar_op == htons(ARPOP_REQUEST)) { in mwifiex_discard_gratuitous_arp() 49 if (!memcmp(arp->ar_sip, arp->ar_tip, 4)) in mwifiex_discard_gratuitous_arp()
|
/drivers/net/arcnet/ |
D | rfc1201.c | 206 struct arphdr *arp = (struct arphdr *) soft->payload; in rx() local 209 if (arp->ar_hln == 1 && arp->ar_pln == 4) { in rx() 210 uint8_t *cptr = (uint8_t *) arp + sizeof(struct arphdr); in rx() 224 arp->ar_hln, arp->ar_pln); in rx()
|
/drivers/staging/bcm/ |
D | Protocol.h | 11 struct arphdr arp; member
|
/drivers/net/wireless/iwlwifi/ |
D | Kconfig | 83 patterns (e.g. incoming arp requests).
|
/drivers/net/ethernet/via/ |
D | via-velocity.c | 3067 struct arp_packet *arp = (struct arp_packet *) buf; in velocity_set_wol() local 3074 arp->type = htons(ETH_P_ARP); in velocity_set_wol() 3075 arp->ar_op = htons(1); in velocity_set_wol() 3077 memcpy(arp->ar_tip, vptr->ip_addr, 4); in velocity_set_wol()
|
/drivers/net/ethernet/chelsio/cxgb3/ |
D | sge.c | 1954 struct arphdr *arp; in cxgb3_arp_process() local 1963 arp = arp_hdr(skb); in cxgb3_arp_process() 1965 if (arp->ar_op != htons(ARPOP_REQUEST)) in cxgb3_arp_process() 1968 arp_ptr = (unsigned char *)(arp + 1); in cxgb3_arp_process()
|
/drivers/net/usb/ |
D | smsc95xx.c | 1537 const u8 arp[] = {0x08, 0x06}; in smsc95xx_suspend() local 1545 crc[filter/2] |= smsc_crc(arp, 2, filter); in smsc95xx_suspend()
|
D | smsc75xx.c | 1847 const u8 arp[] = {0x08, 0x06}; in smsc75xx_suspend() local 1851 | smsc_crc(arp, 2); in smsc75xx_suspend()
|