/linux-4.4.14/net/ipv4/netfilter/ |
H A D | arpt_mangle.c | 1 /* 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 D | nf_tables_arp.c | 43 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 D | ipt_CLUSTERIP.c | 514 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 D | arp_tables.c | 206 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 D | nftables.h | 14 struct nft_af_info *arp; member in struct:netns_nftables
|
/linux-4.4.14/net/ipv4/ |
H A D | arp.c | 1 /* 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 D | Makefile | 13 udp_offload.o arp.o icmp.o devinet.o af_inet.o igmp.o \
|
H A D | ip_tunnel_core.c | 41 #include <net/arp.h>
|
H A D | ip_input.c | 140 #include <net/arp.h>
|
H A D | route.c | 102 #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 D | fib_frontend.c | 44 #include <net/arp.h>
|
H A D | fib_semantics.c | 36 #include <net/arp.h>
|
H A D | ip_gre.c | 42 #include <net/arp.h>
|
H A D | ip_tunnel.c | 50 #include <net/arp.h>
|
H A D | af_inet.c | 102 #include <net/arp.h>
|
H A D | ip_output.c | 72 #include <net/arp.h>
|
H A D | ipconfig.c | 59 #include <net/arp.h>
|
H A D | devinet.c | 60 #include <net/arp.h>
|
H A D | igmp.c | 94 #include <net/arp.h>
|
/linux-4.4.14/include/uapi/linux/netfilter_bridge/ |
H A D | ebt_arp.h | 17 #define EBT_ARP_MATCH "arp"
|
/linux-4.4.14/drivers/net/bonding/ |
H A D | bond_alb.c | 37 #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 D | bond_main.c | 67 #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 D | bond_options.c | 243 .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 D | bond_sysfs.c | 286 /* Show the arp timer interval. */ bonding_show_arp_interval() 298 /* Show the arp targets. */ bonding_show_arp_targets()
|
H A D | bond_netlink.c | 261 netdev_warn(bond->dev, "Removing last arp target with arp_interval on\n");
|
/linux-4.4.14/include/linux/ |
H A D | inet.h | 12 * $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 D | sta_rx.c | 38 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 D | flow.c | 575 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 D | flow.h | 100 } arp; member in struct:sw_flow_key::__anon15037::__anon15038
|
H A D | flow_netlink.c | 1038 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 D | fddi.c | 25 * Alan Cox : New arp/rebuild header 42 #include <net/arp.h> 49 * daddr=NULL means leave destination address (eg unresolved arp)
|
H A D | fc.c | 30 #include <net/arp.h>
|
H A D | hippi.c | 35 #include <net/arp.h> 43 * daddr=NULL means leave destination address (eg unresolved arp)
|
/linux-4.4.14/net/atm/ |
H A D | lec_arpc.h | 2 * Lec arp cache 36 unsigned char no_tries; /* No of times arp retry has been tried */
|
H A D | clip.c | 36 #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 D | lec.h | 113 * Max time the client will maintain an entry in its arp cache in
|
H A D | lec.c | 23 #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 D | br2684.c | 22 #include <net/arp.h>
|
H A D | mpc.c | 22 #include <net/arp.h>
|
/linux-4.4.14/net/bridge/netfilter/ |
H A D | ebt_arpreply.c | 12 #include <net/arp.h>
|
H A D | ebt_snat.c | 13 #include <net/arp.h>
|
H A D | ebt_arp.c | 118 .name = "arp",
|
/linux-4.4.14/include/net/ |
H A D | arp.h | 1 /* linux/net/inet/arp.h */
|
H A D | bonding.h | 446 /* 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 D | arp_tables.h | 63 struct arpt_arp arp; member in struct:compat_arpt_entry
|
/linux-4.4.14/arch/s390/include/uapi/asm/ |
H A D | qeth.h | 96 /* data sent to user space as result of query arp ioctl */
|
/linux-4.4.14/net/appletalk/ |
H A D | atalk_proc.c | 278 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 D | aarp.c | 7 * This doesn't fit cleanly with the IP arp. Potentially we can use
|
/linux-4.4.14/drivers/net/arcnet/ |
H A D | rfc1201.c | 208 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 D | arc-rawmode.c | 33 #include <net/arp.h>
|
H A D | capmode.c | 35 #include <net/arp.h>
|
H A D | rfc1051.c | 33 #include <net/arp.h>
|
H A D | arcnet.c | 51 #include <net/arp.h>
|
/linux-4.4.14/net/netrom/ |
H A D | nr_dev.c | 34 #include <net/arp.h>
|
H A D | nr_route.c | 24 #include <net/arp.h>
|
H A D | af_netrom.c | 44 #include <net/arp.h>
|
/linux-4.4.14/net/rose/ |
H A D | rose_dev.c | 33 #include <net/arp.h>
|
H A D | af_rose.c | 48 #include <net/arp.h> 1179 skbn->arp = 1; rose_sendmsg()
|
H A D | rose_route.c | 23 #include <net/arp.h>
|
/linux-4.4.14/include/uapi/linux/netfilter_arp/ |
H A D | arp_tables.h | 73 /* 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 D | rtllib_module.c | 47 #include <net/arp.h>
|
/linux-4.4.14/drivers/net/ethernet/broadcom/genet/ |
H A D | bcmgenet_wol.c | 26 #include <net/arp.h>
|
H A D | bcmgenet.c | 33 #include <net/arp.h>
|
/linux-4.4.14/net/ax25/ |
H A D | ax25_ip.c | 36 #include <net/arp.h>
|
H A D | ax25_uid.c | 40 #include <net/arp.h>
|
H A D | af_ax25.c | 49 #include <net/arp.h>
|
/linux-4.4.14/net/bridge/ |
H A D | br.c | 230 pr_info("bridge: automatic filtering via arp/ip/ip6tables has been " br_init()
|
H A D | br_input.c | 20 #include <net/arp.h>
|
/linux-4.4.14/include/uapi/linux/ |
H A D | if_arp.h | 138 * This structure defines an ethernet arp header.
|
/linux-4.4.14/net/netfilter/ |
H A D | x_tables.c | 2 * 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 D | nft_compat.c | 46 struct arpt_entry arp; member in union:nft_entry
|
/linux-4.4.14/net/ethernet/ |
H A D | eth.c | 24 * and changes for new arp and skbuff. 56 #include <net/arp.h>
|
/linux-4.4.14/drivers/staging/rtl8192u/ieee80211/ |
H A D | ieee80211_module.c | 52 #include <net/arp.h>
|
/linux-4.4.14/drivers/net/wireless/ipw2x00/ |
H A D | libipw_module.c | 51 #include <net/arp.h>
|
/linux-4.4.14/drivers/net/wan/ |
H A D | hostess_sv11.c | 36 #include <net/arp.h>
|
H A D | sealevel.c | 29 #include <net/arp.h>
|
H A D | sbni.c | 59 #include <net/arp.h>
|
/linux-4.4.14/net/wireless/ |
H A D | wext-spy.c | 15 #include <net/arp.h>
|
H A D | scan.c | 14 #include <net/arp.h>
|
/linux-4.4.14/drivers/staging/gdm724x/ |
H A D | gdm_lte.c | 141 /* 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 D | acx.c | 971 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 D | vlan_dev.c | 32 #include <net/arp.h> 43 * daddr=NULL means leave destination address (eg unresolved arp)
|
H A D | vlan.c | 31 #include <net/arp.h>
|
/linux-4.4.14/net/batman-adv/ |
H A D | debugfs.c | 48 #include "distributed-arp-table.h"
|
H A D | distributed-arp-table.c | 18 #include "distributed-arp-table.h" 43 #include <net/arp.h>
|
H A D | hard-interface.c | 40 #include "distributed-arp-table.h"
|
H A D | packet.h | 180 * @BATADV_TVLV_DAT: distributed arp table tvlv
|
H A D | send.c | 40 #include "distributed-arp-table.h"
|
H A D | sysfs.c | 40 #include "distributed-arp-table.h"
|
H A D | types.h | 312 * @BATADV_ORIG_CAPA_HAS_DAT: orig node has distributed arp table enabled 773 * @dat: distributed arp table data
|
H A D | main.c | 53 #include "distributed-arp-table.h"
|
H A D | originator.c | 35 #include "distributed-arp-table.h"
|
H A D | routing.c | 38 #include "distributed-arp-table.h"
|
H A D | soft-interface.c | 52 #include "distributed-arp-table.h"
|
H A D | bridge_loop_avoidance.c | 46 #include <net/arp.h>
|
/linux-4.4.14/net/irda/irlan/ |
H A D | irlan_eth.c | 34 #include <net/arp.h>
|
H A D | irlan_client.c | 38 #include <net/arp.h>
|
/linux-4.4.14/drivers/net/wireless/ath/ath10k/ |
H A D | wmi-tlv.c | 1958 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 D | mac.c | 4062 ath10k_warn(ar, "failed to set arp ac override parameter: %d\n", ath10k_start()
|
/linux-4.4.14/drivers/infiniband/core/ |
H A D | addr.c | 41 #include <net/arp.h>
|
/linux-4.4.14/drivers/net/hamradio/ |
H A D | bpqether.c | 84 #include <net/arp.h>
|
/linux-4.4.14/drivers/net/wireless/ti/wlcore/ |
H A D | wlcore_i.h | 432 /* save the current encryption type for auto-arp config */
|
H A D | cmd.c | 1227 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 D | acx.c | 1111 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 D | main.c | 3566 * 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 D | l2t.c | 83 * Set up an L2T entry and send any packets waiting in the arp queue. The
|
H A D | sge.c | 41 #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 D | c2.c | 667 /* 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 D | via-velocity.c | 354 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 D | vrf.c | 30 #include <net/arp.h>
|
H A D | sb1000.c | 198 * and we do not want to arp on it. sb1000_probe_one()
|
H A D | vxlan.c | 30 #include <net/arp.h>
|
/linux-4.4.14/arch/mips/include/asm/octeon/ |
H A D | cvmx-wqe.h | 304 * arp
|
/linux-4.4.14/drivers/net/usb/ |
H A D | smsc95xx.c | 1537 const u8 arp[] = {0x08, 0x06}; smsc95xx_suspend() local 1545 crc[filter/2] |= smsc_crc(arp, 2, filter); smsc95xx_suspend()
|
H A D | smsc75xx.c | 1847 const u8 arp[] = {0x08, 0x06}; smsc75xx_suspend() local 1851 | smsc_crc(arp, 2); smsc75xx_suspend()
|
H A D | hso.c | 69 #include <net/arp.h>
|
/linux-4.4.14/drivers/firewire/ |
H A D | net.c | 31 #include <net/arp.h> 214 * daddr == NULL means leave destination address (eg unresolved arp).
|
/linux-4.4.14/fs/xfs/libxfs/ |
H A D | xfs_bmap.c | 731 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 D | sta.c | 1828 * 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 D | mac80211.c | 159 /* 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 D | netvsc_drv.c | 36 #include <net/arp.h>
|
/linux-4.4.14/drivers/net/plip/ |
H A D | plip.c | 55 * # ifconfig plip[0-2] arp
|
/linux-4.4.14/net/llc/ |
H A D | af_llc.c | 428 * specified arp type will be used.
|
/linux-4.4.14/net/mpls/ |
H A D | af_mpls.c | 14 #include <net/arp.h>
|
/linux-4.4.14/drivers/s390/net/ |
H A D | qeth_l3_main.c | 28 #include <net/arp.h> 3115 * arp resolution but we want the hard header (packet socket will work
|
H A D | lcs.c | 40 #include <net/arp.h>
|
/linux-4.4.14/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_main.c | 50 #include <net/arp.h>
|
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmsmac/ |
H A D | mac80211_if.c | 719 brcms_err(core, "%s: arp filtering: %d addresses" brcms_ops_bss_info_changed()
|
/linux-4.4.14/net/ipv6/ |
H A D | ip6_gre.c | 45 #include <net/arp.h>
|
/linux-4.4.14/drivers/infiniband/hw/nes/ |
H A D | nes_cm.c | 57 #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 D | ns83820.c | 882 * like arp frames, or pings, are flagged as Runts
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb/ |
H A D | sge.c | 1838 /* Hmmm, assuming to catch the gratious arp... and we'll use t1_start_xmit()
|
/linux-4.4.14/drivers/tty/ |
H A D | n_gsm.c | 60 #include <net/arp.h>
|
/linux-4.4.14/drivers/isdn/i4l/ |
H A D | isdn_net.c | 27 #include <net/arp.h>
|
/linux-4.4.14/drivers/net/wireless/ath/ath6kl/ |
H A D | cfg80211.c | 2204 ath6kl_err("fail to setup ip for arp agent\n"); ath6kl_wow_suspend_vif()
|
/linux-4.4.14/drivers/net/ethernet/sis/ |
H A D | sis900.c | 2074 * multicast, unicast or arp).
|
/linux-4.4.14/net/core/ |
H A D | rtnetlink.c | 50 #include <net/arp.h>
|
H A D | skbuff.c | 19 * Alan Cox : skb_copy copy arp field
|
/linux-4.4.14/drivers/net/ethernet/rocker/ |
H A D | rocker.c | 38 #include <net/arp.h>
|