Searched refs:arp (Results 1 - 139 of 139) sorted by relevance

/linux-4.4.14/net/ipv4/netfilter/
H A Darpt_mangle.c1 /* module that allows mangling of the arp payload */
9 MODULE_DESCRIPTION("arptables arp payload mangle target");
15 const struct arphdr *arp; target() local
22 arp = arp_hdr(skb); target()
23 arpptr = skb_network_header(skb) + sizeof(*arp); target()
24 pln = arp->ar_pln; target()
25 hln = arp->ar_hln; target()
H A Dnf_tables_arp.c43 net->nft.arp = kmalloc(sizeof(struct nft_af_info), GFP_KERNEL); nf_tables_arp_init_net()
44 if (net->nft.arp== NULL) nf_tables_arp_init_net()
47 memcpy(net->nft.arp, &nft_af_arp, sizeof(nft_af_arp)); nf_tables_arp_init_net()
49 if (nft_register_afinfo(net, net->nft.arp) < 0) nf_tables_arp_init_net()
54 kfree(net->nft.arp); nf_tables_arp_init_net()
60 nft_unregister_afinfo(net->nft.arp); nf_tables_arp_exit_net()
61 kfree(net->nft.arp); nf_tables_arp_exit_net()
H A Dipt_CLUSTERIP.c514 struct arphdr *arp = arp_hdr(skb); arp_mangle() local
520 if (arp->ar_hrd != htons(ARPHRD_ETHER) || arp_mangle()
521 arp->ar_pro != htons(ETH_P_IP) || arp_mangle()
522 arp->ar_pln != 4 || arp->ar_hln != ETH_ALEN) arp_mangle()
525 /* we only want to mangle arp requests and replies */ arp_mangle()
526 if (arp->ar_op != htons(ARPOP_REPLY) && arp_mangle()
527 arp->ar_op != htons(ARPOP_REQUEST)) arp_mangle()
530 payload = (void *)(arp+1); arp_mangle()
532 /* if there is no clusterip configuration for the arp reply's arp_mangle()
538 /* normally the linux kernel always replies to arp queries of arp_mangle()
543 pr_debug("not mangling arp reply on different " arp_mangle()
551 memcpy(payload->src_hw, c->clustermac, arp->ar_hln); arp_mangle()
554 pr_debug("mangled arp reply: "); arp_mangle()
H A Darp_tables.c206 static inline int arp_checkentry(const struct arpt_arp *arp) arp_checkentry() argument
208 if (arp->flags & ~ARPT_F_MASK) { arp_checkentry()
210 arp->flags & ~ARPT_F_MASK); arp_checkentry()
213 if (arp->invflags & ~ARPT_INV_MASK) { arp_checkentry()
215 arp->invflags & ~ARPT_INV_MASK); arp_checkentry()
256 const struct arphdr *arp; arpt_do_table() local
295 arp = arp_hdr(skb); arpt_do_table()
300 if (!arp_packet_match(arp, skb->dev, indev, outdev, &e->arp)) { arpt_do_table()
344 arp = arp_hdr(skb); arpt_do_table()
367 memcmp(&e->arp, &uncond, sizeof(uncond)) == 0; unconditional()
592 if (!arp_checkentry(&e->arp)) check_entry_size_and_hooks()
1225 if (!arp_checkentry(&e->arp)) check_compat_entry_size_and_hooks()
/linux-4.4.14/include/net/netns/
H A Dnftables.h14 struct nft_af_info *arp; member in struct:netns_nftables
/linux-4.4.14/net/ipv4/
H A Darp.c1 /* linux/net/ipv4/arp.c
44 * eg intelligent arp probing and
55 * Stuart Cheshire : Metricom and grat arp fixes
64 * Alexey Kuznetsov: new arp state machine;
67 * Arnaldo C. Melo : convert /proc/net/arp to seq_file
113 #include <net/arp.h>
296 /* Create and send an arp packet. */ arp_send_dst()
306 /* arp on this interface. */ arp_send_dst()
476 * Check for RFC3069 proxy arp private VLAN (allow to send back to same dev)
478 * RFC3069 supports proxy arp replies back to the same interface. This
517 * Create an arp packet. If dest_hw is not set, we create a broadcast
527 struct arphdr *arp; arp_create() local
542 arp = (struct arphdr *) skb_put(skb, arp_hdr_len(dev)); arp_create()
557 * Fill out the arp protocol part. arp_create()
559 * The arp hardware type should match the device type, except for FDDI, arp_create()
568 arp->ar_hrd = htons(dev->type); arp_create()
569 arp->ar_pro = htons(ETH_P_IP); arp_create()
574 arp->ar_hrd = htons(ARPHRD_AX25); arp_create()
575 arp->ar_pro = htons(AX25_P_IP); arp_create()
580 arp->ar_hrd = htons(ARPHRD_NETROM); arp_create()
581 arp->ar_pro = htons(AX25_P_IP); arp_create()
588 arp->ar_hrd = htons(ARPHRD_ETHER); arp_create()
589 arp->ar_pro = htons(ETH_P_IP); arp_create()
594 arp->ar_hln = dev->addr_len; arp_create()
595 arp->ar_pln = 4; arp_create()
596 arp->ar_op = htons(type); arp_create()
598 arp_ptr = (unsigned char *)(arp + 1); arp_create()
633 * Send an arp packet.
645 * Process an arp request.
652 struct arphdr *arp; arp_process() local
670 arp = arp_hdr(skb); arp_process()
674 if (arp->ar_pro != htons(ETH_P_IP) || arp_process()
675 htons(dev_type) != arp->ar_hrd) arp_process()
690 if ((arp->ar_hrd != htons(ARPHRD_ETHER) && arp_process()
691 arp->ar_hrd != htons(ARPHRD_IEEE802)) || arp_process()
692 arp->ar_pro != htons(ETH_P_IP)) arp_process()
696 if (arp->ar_pro != htons(AX25_P_IP) || arp_process()
697 arp->ar_hrd != htons(ARPHRD_AX25)) arp_process()
701 if (arp->ar_pro != htons(AX25_P_IP) || arp_process()
702 arp->ar_hrd != htons(ARPHRD_NETROM)) arp_process()
709 if (arp->ar_op != htons(ARPOP_REPLY) && arp_process()
710 arp->ar_op != htons(ARPOP_REQUEST)) arp_process()
716 arp_ptr = (unsigned char *)(arp + 1); arp_process()
757 * and in the case of requests for us we add the requester to the arp arp_process()
761 if (arp->ar_op == htons(ARPOP_REQUEST) && skb_metadata_dst(skb)) arp_process()
768 if (arp->ar_op == htons(ARPOP_REQUEST) && arp_process()
776 if (arp->ar_op == htons(ARPOP_REQUEST) && arp_process()
837 is_garp = arp->ar_op == htons(ARPOP_REQUEST) && tip == sip && arp_process()
841 ((arp->ar_op == htons(ARPOP_REPLY) && arp_process()
853 arp trashing and chooses the fastest router. arp_process()
863 if (arp->ar_op != htons(ARPOP_REPLY) || arp_process()
885 * Receive an arp request from the device layer.
891 const struct arphdr *arp; arp_rcv() local
907 arp = arp_hdr(skb); arp_rcv()
908 if (arp->ar_hln != dev->addr_len || arp->ar_pln != 4) arp_rcv()
1349 /* Don't want to confuse "arp -a" w/ magic entries, arp_seq_start()
1381 if (!proc_create("arp", S_IRUGO, net->proc_net, &arp_seq_fops)) arp_net_init()
1388 remove_proc_entry("arp", net->proc_net); arp_net_exit()
H A DMakefile13 udp_offload.o arp.o icmp.o devinet.o af_inet.o igmp.o \
H A Dip_tunnel_core.c41 #include <net/arp.h>
H A Dip_input.c140 #include <net/arp.h>
H A Droute.c102 #include <net/arp.h>
1628 * invalid for proxy arp. DNAT routes are always valid. __mkroute_input()
1630 * Proxy arp feature have been extended to allow, ARP __mkroute_input()
1632 * Private VLAN switch technologies. See arp.c. __mkroute_input()
H A Dfib_frontend.c44 #include <net/arp.h>
H A Dfib_semantics.c36 #include <net/arp.h>
H A Dip_gre.c42 #include <net/arp.h>
H A Dip_tunnel.c50 #include <net/arp.h>
H A Daf_inet.c102 #include <net/arp.h>
H A Dip_output.c72 #include <net/arp.h>
H A Dipconfig.c59 #include <net/arp.h>
H A Ddevinet.c60 #include <net/arp.h>
H A Digmp.c94 #include <net/arp.h>
/linux-4.4.14/include/uapi/linux/netfilter_bridge/
H A Debt_arp.h17 #define EBT_ARP_MATCH "arp"
/linux-4.4.14/drivers/net/bonding/
H A Dbond_alb.c37 #include <net/arp.h>
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) rlb_update_entry_from_arp() argument
284 hash_index = _simple_hash((u8 *)&(arp->ip_src), sizeof(arp->ip_src)); rlb_update_entry_from_arp()
288 (client_info->ip_src == arp->ip_dst) && rlb_update_entry_from_arp()
289 (client_info->ip_dst == arp->ip_src) && rlb_update_entry_from_arp()
290 (!ether_addr_equal_64bits(client_info->mac_dst, arp->mac_src))) { rlb_update_entry_from_arp()
292 ether_addr_copy(client_info->mac_dst, arp->mac_src); rlb_update_entry_from_arp()
303 struct arp_pkt *arp, _arp; rlb_arp_recv() local
308 arp = skb_header_pointer(skb, 0, sizeof(_arp), &_arp); rlb_arp_recv()
309 if (!arp) rlb_arp_recv()
312 /* We received an ARP from arp->ip_src. rlb_arp_recv()
315 * However, if arp->mac_src is different than what is stored in rlb_arp_recv()
322 rlb_purge_src_ip(bond, arp); rlb_arp_recv()
324 if (arp->op_code == htons(ARPOP_REPLY)) { rlb_arp_recv()
326 rlb_update_entry_from_arp(bond, arp); rlb_arp_recv()
583 struct arp_pkt *arp = arp_pkt(skb); rlb_choose_channel() local
592 hash_index = _simple_hash((u8 *)&arp->ip_dst, sizeof(arp->ip_dst)); rlb_choose_channel()
596 if ((client_info->ip_src == arp->ip_src) && rlb_choose_channel()
597 (client_info->ip_dst == arp->ip_dst)) { rlb_choose_channel()
599 if (!ether_addr_equal_64bits(arp->mac_dst, mac_bcast)) { rlb_choose_channel()
600 /* update mac address from arp */ rlb_choose_channel()
601 ether_addr_copy(client_info->mac_dst, arp->mac_dst); rlb_choose_channel()
603 ether_addr_copy(client_info->mac_src, arp->mac_src); rlb_choose_channel()
627 client_info->ip_src == arp->ip_src)) { rlb_choose_channel()
631 u32 hash_src = _simple_hash((u8 *)&arp->ip_src, rlb_choose_channel()
632 sizeof(arp->ip_src)); rlb_choose_channel()
637 client_info->ip_src = arp->ip_src; rlb_choose_channel()
638 client_info->ip_dst = arp->ip_dst; rlb_choose_channel()
639 /* arp->mac_dst is broadcast for arp reqeusts. rlb_choose_channel()
641 * upon receiving an arp reply. rlb_choose_channel()
643 ether_addr_copy(client_info->mac_dst, arp->mac_dst); rlb_choose_channel()
644 ether_addr_copy(client_info->mac_src, arp->mac_src); rlb_choose_channel()
674 /* chooses (and returns) transmit channel for arp reply
675 * does not choose channel for other arp types since they are
680 struct arp_pkt *arp = arp_pkt(skb); rlb_arp_xmit() local
686 if (!bond_slave_has_mac_rx(bond, arp->mac_src)) rlb_arp_xmit()
689 if (arp->op_code == htons(ARPOP_REPLY)) { rlb_arp_xmit()
690 /* the arp must be sent on the selected rx channel */ rlb_arp_xmit()
693 ether_addr_copy(arp->mac_src, tx_slave->dev->dev_addr); rlb_arp_xmit()
695 } else if (arp->op_code == htons(ARPOP_REQUEST)) { rlb_arp_xmit()
698 * When the arp reply is received the entry will be updated rlb_arp_xmit()
708 /* arp requests are broadcast and are sent on the primary rlb_arp_xmit()
709 * the arp request will collapse all clients on the subnet to rlb_arp_xmit()
713 rlb_req_update_subnet_clients(bond, arp->ip_src); rlb_arp_xmit()
837 /* deletes all rx_hashtbl entries with arp->ip_src if their mac_src does
838 * not match arp->mac_src
840 static void rlb_purge_src_ip(struct bonding *bond, struct arp_pkt *arp) rlb_purge_src_ip() argument
843 u32 ip_src_hash = _simple_hash((u8 *)&(arp->ip_src), sizeof(arp->ip_src)); rlb_purge_src_ip()
852 if (entry->ip_src == arp->ip_src && rlb_purge_src_ip()
853 !ether_addr_equal_64bits(arp->mac_src, entry->mac_src)) rlb_purge_src_ip()
1619 * not work because the rebalance arp replies will bond_alb_handle_link_change()
H A Dbond_main.c67 #include <net/arp.h>
167 MODULE_PARM_DESC(arp_interval, "arp interval in milliseconds");
169 MODULE_PARM_DESC(arp_ip_target, "arp targets in n.n.n.n form");
175 MODULE_PARM_DESC(arp_all_targets, "fail on any/all arp targets timeout; 0 for any (default), 1 for all");
2259 netdev_dbg(slave_dev, "arp %d on slave %s: dst %pI4 src %pI4\n", bond_arp_send()
2360 /* there's no route to target - try to send arp bond_arp_send_all()
2422 struct arphdr *arp = (struct arphdr *)skb->data; bond_arp_rcv() local
2443 arp = kmalloc(alen, GFP_ATOMIC); bond_arp_rcv()
2444 if (!arp) bond_arp_rcv()
2446 if (skb_copy_bits(skb, 0, arp, alen) < 0) bond_arp_rcv()
2450 if (arp->ar_hln != bond->dev->addr_len || bond_arp_rcv()
2453 arp->ar_hrd != htons(ARPHRD_ETHER) || bond_arp_rcv()
2454 arp->ar_pro != htons(ETH_P_IP) || bond_arp_rcv()
2455 arp->ar_pln != 4) bond_arp_rcv()
2458 arp_ptr = (unsigned char *)(arp + 1); bond_arp_rcv()
2478 * active slave and it received valid arp reply(s) after it became bond_arp_rcv()
2493 * arp_ip_target and fool ourselves with our own arp requests. bond_arp_rcv()
2501 else if (curr_arp_slave && (arp->ar_op == htons(ARPOP_REPLY)) && bond_arp_rcv()
2507 if (arp != (struct arphdr *)skb->data) bond_arp_rcv()
2508 kfree(arp); bond_arp_rcv()
2527 * ensuring that traffic is being sent and received when arp monitoring
2529 * arp is transmitted to generate traffic. see activebackup_arp_monitor for
2530 * arp monitoring in active backup mode.
2549 * needed here because we send an arp on each slave and give a slave bond_loadbalance_arp_mon()
2551 * TODO: what about up/down delay in arp mode? it wasn't here before bond_loadbalance_arp_mon()
2581 /* not all switches will respond to an arp request bond_for_each_slave_rcu()
2603 * must tx arp to ensure all links rx an arp - otherwise bond_for_each_slave_rcu()
3232 if (bond->params.arp_interval) { /* arp interval, in milliseconds. */
4353 /* don't allow arp monitoring */ bond_check_params()
H A Dbond_options.c243 .desc = "fail on any/all arp targets timeout",
258 .desc = "arp interval in milliseconds",
267 .desc = "arp targets in n.n.n.n form",
723 netdev_info(bond->dev, "%s mode is incompatible with arp monitoring, start mii monitoring\n", bond_option_mode_set()
725 /* disable arp monitoring */ bond_option_mode_set()
1013 netdev_warn(bond->dev, "Removing last arp target with arp_interval on\n"); bond_option_arp_ip_target_rem()
H A Dbond_sysfs.c286 /* Show the arp timer interval. */ bonding_show_arp_interval()
298 /* Show the arp targets. */ bonding_show_arp_targets()
H A Dbond_netlink.c261 netdev_warn(bond->dev, "Removing last arp target with arp_interval on\n");
/linux-4.4.14/include/linux/
H A Dinet.h12 * $Id: arp.c,v 0.8.4.6 1993/01/28 22:30:00 bir7 Exp $
13 * $Id: arp.h,v 0.8.4.6 1993/01/28 22:30:00 bir7 Exp $
/linux-4.4.14/drivers/net/wireless/mwifiex/
H A Dsta_rx.c38 const struct mwifiex_arp_eth_header *arp; mwifiex_discard_gratuitous_arp() local
46 arp = (void *)(skb->data + sizeof(struct ethhdr)); mwifiex_discard_gratuitous_arp()
47 if (arp->hdr.ar_op == htons(ARPOP_REPLY) || mwifiex_discard_gratuitous_arp()
48 arp->hdr.ar_op == htons(ARPOP_REQUEST)) { mwifiex_discard_gratuitous_arp()
49 if (!memcmp(arp->ar_sip, arp->ar_tip, 4)) mwifiex_discard_gratuitous_arp()
/linux-4.4.14/net/openvswitch/
H A Dflow.c575 struct arp_eth_header *arp; key_extract() local
578 arp = (struct arp_eth_header *)skb_network_header(skb); key_extract()
581 arp->ar_hrd == htons(ARPHRD_ETHER) && key_extract()
582 arp->ar_pro == htons(ETH_P_IP) && key_extract()
583 arp->ar_hln == ETH_ALEN && key_extract()
584 arp->ar_pln == 4) { key_extract()
587 if (ntohs(arp->ar_op) <= 0xff) key_extract()
588 key->ip.proto = ntohs(arp->ar_op); key_extract()
592 memcpy(&key->ipv4.addr.src, arp->ar_sip, sizeof(key->ipv4.addr.src)); key_extract()
593 memcpy(&key->ipv4.addr.dst, arp->ar_tip, sizeof(key->ipv4.addr.dst)); key_extract()
594 ether_addr_copy(key->ipv4.arp.sha, arp->ar_sha); key_extract()
595 ether_addr_copy(key->ipv4.arp.tha, arp->ar_tha); key_extract()
H A Dflow.h100 } arp; member in struct:sw_flow_key::__anon15037::__anon15038
H A Dflow_netlink.c1038 SW_FLOW_KEY_MEMCPY(match, ipv4.arp.sha, ovs_key_from_nlattrs()
1040 SW_FLOW_KEY_MEMCPY(match, ipv4.arp.tha, ovs_key_from_nlattrs()
1536 ether_addr_copy(arp_key->arp_sha, output->ipv4.arp.sha); __ovs_nla_put_key()
1537 ether_addr_copy(arp_key->arp_tha, output->ipv4.arp.tha); __ovs_nla_put_key()
/linux-4.4.14/net/802/
H A Dfddi.c25 * Alan Cox : New arp/rebuild header
42 #include <net/arp.h>
49 * daddr=NULL means leave destination address (eg unresolved arp)
H A Dfc.c30 #include <net/arp.h>
H A Dhippi.c35 #include <net/arp.h>
43 * daddr=NULL means leave destination address (eg unresolved arp)
/linux-4.4.14/net/atm/
H A Dlec_arpc.h2 * Lec arp cache
36 unsigned char no_tries; /* No of times arp retry has been tried */
H A Dclip.c36 #include <net/arp.h>
309 /* @@@ copy bh locking from arp.c -- need to bh-enable atm code before */
896 p = proc_create("arp", S_IRUGO, atm_proc_root, &arp_seq_fops); atm_clip_init()
898 pr_err("Unable to initialize /proc/net/atm/arp\n"); atm_clip_init()
933 remove_proc_entry("arp", atm_proc_root); atm_clip_exit()
H A Dlec.h113 * Max time the client will maintain an entry in its arp cache in
H A Dlec.c23 #include <net/arp.h>
289 pr_debug("%s:tx queue full or no arp entry, dropping, MAC address: %pM\n", lec_start_xmit()
1251 * Initialization of arp-cache
1484 * Destruction of arp-cache
1737 case 2: /* LANE2 wants arp for multicast addresses */ lec_arp_resolve()
1797 /* We want arp-request(s) to be sent */ lec_arp_resolve()
H A Dbr2684.c22 #include <net/arp.h>
H A Dmpc.c22 #include <net/arp.h>
/linux-4.4.14/net/bridge/netfilter/
H A Debt_arpreply.c12 #include <net/arp.h>
H A Debt_snat.c13 #include <net/arp.h>
H A Debt_arp.c118 .name = "arp",
/linux-4.4.14/include/net/
H A Darp.h1 /* linux/net/inet/arp.h */
H A Dbonding.h446 /* Get the oldest arp which we've received on this slave for bond's
641 /* Check if the ip is present in arp ip list, or first free slot if ip == 0
/linux-4.4.14/include/linux/netfilter_arp/
H A Darp_tables.h63 struct arpt_arp arp; member in struct:compat_arpt_entry
/linux-4.4.14/arch/s390/include/uapi/asm/
H A Dqeth.h96 /* data sent to user space as result of query arp ioctl */
/linux-4.4.14/net/appletalk/
H A Datalk_proc.c278 p = proc_create("arp", S_IRUGO, atalk_proc_dir, &atalk_seq_arp_fops); atalk_proc_init()
301 remove_proc_entry("arp", atalk_proc_dir); atalk_proc_exit()
H A Daarp.c7 * This doesn't fit cleanly with the IP arp. Potentially we can use
/linux-4.4.14/drivers/net/arcnet/
H A Drfc1201.c208 struct arphdr *arp = (struct arphdr *)soft->payload; rx() local
211 if (arp->ar_hln == 1 && arp->ar_pln == 4) { rx()
212 uint8_t *cptr = (uint8_t *)arp + sizeof(struct arphdr); rx()
226 arp->ar_hln, arp->ar_pln); rx()
H A Darc-rawmode.c33 #include <net/arp.h>
H A Dcapmode.c35 #include <net/arp.h>
H A Drfc1051.c33 #include <net/arp.h>
H A Darcnet.c51 #include <net/arp.h>
/linux-4.4.14/net/netrom/
H A Dnr_dev.c34 #include <net/arp.h>
H A Dnr_route.c24 #include <net/arp.h>
H A Daf_netrom.c44 #include <net/arp.h>
/linux-4.4.14/net/rose/
H A Drose_dev.c33 #include <net/arp.h>
H A Daf_rose.c48 #include <net/arp.h>
1179 skbn->arp = 1; rose_sendmsg()
H A Drose_route.c23 #include <net/arp.h>
/linux-4.4.14/include/uapi/linux/netfilter_arp/
H A Darp_tables.h73 /* Values for "flag" field in struct arpt_ip (general arp structure).
96 struct arpt_arp arp; member in struct:arpt_entry
/linux-4.4.14/drivers/staging/rtl8192e/
H A Drtllib_module.c47 #include <net/arp.h>
/linux-4.4.14/drivers/net/ethernet/broadcom/genet/
H A Dbcmgenet_wol.c26 #include <net/arp.h>
H A Dbcmgenet.c33 #include <net/arp.h>
/linux-4.4.14/net/ax25/
H A Dax25_ip.c36 #include <net/arp.h>
H A Dax25_uid.c40 #include <net/arp.h>
H A Daf_ax25.c49 #include <net/arp.h>
/linux-4.4.14/net/bridge/
H A Dbr.c230 pr_info("bridge: automatic filtering via arp/ip/ip6tables has been " br_init()
H A Dbr_input.c20 #include <net/arp.h>
/linux-4.4.14/include/uapi/linux/
H A Dif_arp.h138 * This structure defines an ethernet arp header.
/linux-4.4.14/net/netfilter/
H A Dx_tables.c2 * x_tables core - Backend for {ip,ip6,arp}_tables
39 MODULE_DESCRIPTION("{ip,ip6,arp,eb}_tables backend module");
65 [NFPROTO_ARP] = "arp",
630 * xt_check_entry_offsets - validate arp/ip/ip6t_entry
632 * @base: pointer to arp/ip/ip6t_entry
634 * @target_offset: the arp/ip/ip6_t->target_offset
635 * @next_offset: the arp/ip/ip6_t->next_offset
647 * The arp/ip/ip6t_entry structure @base must have passed following tests:
H A Dnft_compat.c46 struct arpt_entry arp; member in union:nft_entry
/linux-4.4.14/net/ethernet/
H A Deth.c24 * and changes for new arp and skbuff.
56 #include <net/arp.h>
/linux-4.4.14/drivers/staging/rtl8192u/ieee80211/
H A Dieee80211_module.c52 #include <net/arp.h>
/linux-4.4.14/drivers/net/wireless/ipw2x00/
H A Dlibipw_module.c51 #include <net/arp.h>
/linux-4.4.14/drivers/net/wan/
H A Dhostess_sv11.c36 #include <net/arp.h>
H A Dsealevel.c29 #include <net/arp.h>
H A Dsbni.c59 #include <net/arp.h>
/linux-4.4.14/net/wireless/
H A Dwext-spy.c15 #include <net/arp.h>
H A Dscan.c14 #include <net/arp.h>
/linux-4.4.14/drivers/staging/gdm724x/
H A Dgdm_lte.c141 /* Copy the arp header */ gdm_lte_emulate_arp()
145 /* Copy the arp payload: based on 2 bytes of mac and fill the IP */ gdm_lte_emulate_arp()
/linux-4.4.14/drivers/net/wireless/ti/wl1251/
H A Dacx.c971 wl1251_debug(DEBUG_ACX, "acx arp ip filter, enable: %d", enable); wl1251_acx_arp_ip_filter()
986 wl1251_warning("failed to set arp ip filter: %d", ret); wl1251_acx_arp_ip_filter()
/linux-4.4.14/net/8021q/
H A Dvlan_dev.c32 #include <net/arp.h>
43 * daddr=NULL means leave destination address (eg unresolved arp)
H A Dvlan.c31 #include <net/arp.h>
/linux-4.4.14/net/batman-adv/
H A Ddebugfs.c48 #include "distributed-arp-table.h"
H A Ddistributed-arp-table.c18 #include "distributed-arp-table.h"
43 #include <net/arp.h>
H A Dhard-interface.c40 #include "distributed-arp-table.h"
H A Dpacket.h180 * @BATADV_TVLV_DAT: distributed arp table tvlv
H A Dsend.c40 #include "distributed-arp-table.h"
H A Dsysfs.c40 #include "distributed-arp-table.h"
H A Dtypes.h312 * @BATADV_ORIG_CAPA_HAS_DAT: orig node has distributed arp table enabled
773 * @dat: distributed arp table data
H A Dmain.c53 #include "distributed-arp-table.h"
H A Doriginator.c35 #include "distributed-arp-table.h"
H A Drouting.c38 #include "distributed-arp-table.h"
H A Dsoft-interface.c52 #include "distributed-arp-table.h"
H A Dbridge_loop_avoidance.c46 #include <net/arp.h>
/linux-4.4.14/net/irda/irlan/
H A Dirlan_eth.c34 #include <net/arp.h>
H A Dirlan_client.c38 #include <net/arp.h>
/linux-4.4.14/drivers/net/wireless/ath/ath10k/
H A Dwmi-tlv.c1958 struct wmi_sta_keepalive_arp_resp *arp; ath10k_wmi_tlv_op_gen_sta_keepalive() local
1965 sizeof(*tlv) + sizeof(*arp); ath10k_wmi_tlv_op_gen_sta_keepalive()
1985 tlv->len = __cpu_to_le16(sizeof(*arp)); ath10k_wmi_tlv_op_gen_sta_keepalive()
1986 arp = (void *)tlv->value; ath10k_wmi_tlv_op_gen_sta_keepalive()
1988 arp->src_ip4_addr = arg->src_ip4_addr; ath10k_wmi_tlv_op_gen_sta_keepalive()
1989 arp->dest_ip4_addr = arg->dest_ip4_addr; ath10k_wmi_tlv_op_gen_sta_keepalive()
1990 ether_addr_copy(arp->dest_mac_addr.addr, arg->dest_mac_addr); ath10k_wmi_tlv_op_gen_sta_keepalive()
H A Dmac.c4062 ath10k_warn(ar, "failed to set arp ac override parameter: %d\n", ath10k_start()
/linux-4.4.14/drivers/infiniband/core/
H A Daddr.c41 #include <net/arp.h>
/linux-4.4.14/drivers/net/hamradio/
H A Dbpqether.c84 #include <net/arp.h>
/linux-4.4.14/drivers/net/wireless/ti/wlcore/
H A Dwlcore_i.h432 /* save the current encryption type for auto-arp config */
H A Dcmd.c1227 wl1271_error("failed to allocate buffer for arp rsp template"); wl1271_cmd_build_arp_rsp()
1240 /* arp header */ wl1271_cmd_build_arp_rsp()
1248 /* arp payload */ wl1271_cmd_build_arp_rsp()
H A Dacx.c1111 wl1271_debug(DEBUG_ACX, "acx arp ip filter, enable: %d", enable); wl1271_acx_arp_ip_filter()
1129 wl1271_warning("failed to set arp ip filter: %d", ret); wl1271_acx_arp_ip_filter()
H A Dmain.c3566 * reconfiguring arp response if the unicast (or common) wlcore_set_key()
3575 wl1271_warning("build arp rsp failed: %d", ret); wlcore_set_key()
4552 /* Handle arp filtering. Done after join. */ wl1271_bss_info_changed_sta()
4569 wl1271_warning("build arp rsp failed: %d", ret); wl1271_bss_info_changed_sta()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb3/
H A Dl2t.c83 * Set up an L2T entry and send any packets waiting in the arp queue. The
H A Dsge.c41 #include <net/arp.h>
1954 struct arphdr *arp; cxgb3_arp_process() local
1963 arp = arp_hdr(skb); cxgb3_arp_process()
1965 if (arp->ar_op != htons(ARPOP_REQUEST)) cxgb3_arp_process()
1968 arp_ptr = (unsigned char *)(arp + 1); cxgb3_arp_process()
/linux-4.4.14/drivers/staging/rdma/amso1100/
H A Dc2.c667 /* Tell the stack to ignore arp requests for ipaddrs bound to c2_up()
669 * from responding to arp requests to the ipaddr bound on the c2_up()
/linux-4.4.14/drivers/net/ethernet/via/
H A Dvia-velocity.c354 2: Wake up if recevied an arp packet.
3049 struct arp_packet *arp = (struct arp_packet *) buf; velocity_set_wol() local
3056 arp->type = htons(ETH_P_ARP); velocity_set_wol()
3057 arp->ar_op = htons(1); velocity_set_wol()
3059 memcpy(arp->ar_tip, vptr->ip_addr, 4); velocity_set_wol()
/linux-4.4.14/drivers/net/
H A Dvrf.c30 #include <net/arp.h>
H A Dsb1000.c198 * and we do not want to arp on it. sb1000_probe_one()
H A Dvxlan.c30 #include <net/arp.h>
/linux-4.4.14/arch/mips/include/asm/octeon/
H A Dcvmx-wqe.h304 * arp
/linux-4.4.14/drivers/net/usb/
H A Dsmsc95xx.c1537 const u8 arp[] = {0x08, 0x06}; smsc95xx_suspend() local
1545 crc[filter/2] |= smsc_crc(arp, 2, filter); smsc95xx_suspend()
H A Dsmsc75xx.c1847 const u8 arp[] = {0x08, 0x06}; smsc75xx_suspend() local
1851 | smsc_crc(arp, 2); smsc75xx_suspend()
H A Dhso.c69 #include <net/arp.h>
/linux-4.4.14/drivers/firewire/
H A Dnet.c31 #include <net/arp.h>
214 * daddr == NULL means leave destination address (eg unresolved arp).
/linux-4.4.14/fs/xfs/libxfs/
H A Dxfs_bmap.c731 xfs_bmbt_rec_t *arp; /* child record pointer */ xfs_bmap_extents_to_btree() local
826 arp = XFS_BMBT_REC_ADDR(mp, ablock, 1); xfs_bmap_extents_to_btree()
831 arp->l0 = cpu_to_be64(ep->l0); xfs_bmap_extents_to_btree()
832 arp->l1 = cpu_to_be64(ep->l1); xfs_bmap_extents_to_btree()
833 arp++; cnt++; xfs_bmap_extents_to_btree()
843 arp = XFS_BMBT_REC_ADDR(mp, ablock, 1); xfs_bmap_extents_to_btree()
844 kp->br_startoff = cpu_to_be64(xfs_bmbt_disk_get_startoff(arp)); xfs_bmap_extents_to_btree()
/linux-4.4.14/drivers/net/wireless/cw1200/
H A Dsta.c1828 * In case of more IPs arp filtering will be disabled. cw1200_bss_info_changed()
1840 pr_debug("[STA] arp ip filter enable: %d\n", cw1200_bss_info_changed()
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/
H A Dmac80211.c159 /* arp */
164 /* frame type - arp, hw type - ethernet */
172 /* arp dest ip */
2335 IWL_DEBUG_MAC80211(mvm, "arp filter changed\n"); iwl_mvm_bss_info_changed_station()
/linux-4.4.14/drivers/net/hyperv/
H A Dnetvsc_drv.c36 #include <net/arp.h>
/linux-4.4.14/drivers/net/plip/
H A Dplip.c55 * # ifconfig plip[0-2] arp
/linux-4.4.14/net/llc/
H A Daf_llc.c428 * specified arp type will be used.
/linux-4.4.14/net/mpls/
H A Daf_mpls.c14 #include <net/arp.h>
/linux-4.4.14/drivers/s390/net/
H A Dqeth_l3_main.c28 #include <net/arp.h>
3115 * arp resolution but we want the hard header (packet socket will work
H A Dlcs.c40 #include <net/arp.h>
/linux-4.4.14/drivers/infiniband/ulp/ipoib/
H A Dipoib_main.c50 #include <net/arp.h>
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmsmac/
H A Dmac80211_if.c719 brcms_err(core, "%s: arp filtering: %d addresses" brcms_ops_bss_info_changed()
/linux-4.4.14/net/ipv6/
H A Dip6_gre.c45 #include <net/arp.h>
/linux-4.4.14/drivers/infiniband/hw/nes/
H A Dnes_cm.c57 #include <net/arp.h>
1651 /* get some device handles, for arp lookup */ make_cm_node()
1669 nes_debug(NES_DBG_CM, "Remote mac addr from arp table: %pM\n", make_cm_node()
/linux-4.4.14/drivers/net/ethernet/natsemi/
H A Dns83820.c882 * like arp frames, or pings, are flagged as Runts
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb/
H A Dsge.c1838 /* Hmmm, assuming to catch the gratious arp... and we'll use t1_start_xmit()
/linux-4.4.14/drivers/tty/
H A Dn_gsm.c60 #include <net/arp.h>
/linux-4.4.14/drivers/isdn/i4l/
H A Disdn_net.c27 #include <net/arp.h>
/linux-4.4.14/drivers/net/wireless/ath/ath6kl/
H A Dcfg80211.c2204 ath6kl_err("fail to setup ip for arp agent\n"); ath6kl_wow_suspend_vif()
/linux-4.4.14/drivers/net/ethernet/sis/
H A Dsis900.c2074 * multicast, unicast or arp).
/linux-4.4.14/net/core/
H A Drtnetlink.c50 #include <net/arp.h>
H A Dskbuff.c19 * Alan Cox : skb_copy copy arp field
/linux-4.4.14/drivers/net/ethernet/rocker/
H A Drocker.c38 #include <net/arp.h>

Completed in 4572 milliseconds