Home
last modified time | relevance | path

Searched refs:arphdr (Results 1 – 16 of 16) sorted by relevance

/net/bridge/netfilter/
Debt_arp.c23 const struct arphdr *ah; in ebt_arp_mt()
24 struct arphdr _arph; in ebt_arp_mt()
45 sap = skb_header_pointer(skb, sizeof(struct arphdr) + in ebt_arp_mt()
50 dap = skb_header_pointer(skb, sizeof(struct arphdr) + in ebt_arp_mt()
75 mp = skb_header_pointer(skb, sizeof(struct arphdr), in ebt_arp_mt()
86 mp = skb_header_pointer(skb, sizeof(struct arphdr) + in ebt_arp_mt()
Debt_among.c82 const struct arphdr *ah; in get_ip_dst()
83 struct arphdr _arph; in get_ip_dst()
92 bp = skb_header_pointer(skb, sizeof(struct arphdr) + in get_ip_dst()
113 const struct arphdr *ah; in get_ip_src()
114 struct arphdr _arph; in get_ip_src()
123 bp = skb_header_pointer(skb, sizeof(struct arphdr) + in get_ip_src()
Debt_snat.c31 const struct arphdr *ap; in ebt_snat_tg()
32 struct arphdr _ah; in ebt_snat_tg()
Debt_arpreply.c25 const struct arphdr *ap; in ebt_arpreply_tg()
26 struct arphdr _ah; in ebt_arpreply_tg()
Debt_log.c141 const struct arphdr *ah; in ebt_log_packet()
142 struct arphdr _arph; in ebt_log_packet()
/net/batman-adv/
Ddistributed-arp-table.c234 addr += ETH_HLEN + sizeof(struct arphdr); in batadv_arp_hw_src()
1057 struct arphdr *arphdr; in batadv_arp_get_type() local
1077 arphdr = (struct arphdr *)(skb->data + hdr_size + ETH_HLEN); in batadv_arp_get_type()
1080 if (arphdr->ar_hrd != htons(ARPHRD_ETHER)) in batadv_arp_get_type()
1083 if (arphdr->ar_pro != htons(ETH_P_IP)) in batadv_arp_get_type()
1086 if (arphdr->ar_hln != ETH_ALEN) in batadv_arp_get_type()
1089 if (arphdr->ar_pln != 4) in batadv_arp_get_type()
1108 if (arphdr->ar_op != htons(ARPOP_REQUEST)) { in batadv_arp_get_type()
1115 type = ntohs(arphdr->ar_op); in batadv_arp_get_type()
Dbridge_loop_avoidance.c376 hw_src = (u8 *)ethhdr + ETH_HLEN + sizeof(struct arphdr); in batadv_bla_send_claim()
1084 struct arphdr *arphdr; in batadv_bla_process_claim() local
1127 arphdr = (struct arphdr *)((u8 *)ethhdr + headlen); in batadv_bla_process_claim()
1132 if (arphdr->ar_hrd != htons(ARPHRD_ETHER)) in batadv_bla_process_claim()
1134 if (arphdr->ar_pro != htons(ETH_P_IP)) in batadv_bla_process_claim()
1136 if (arphdr->ar_hln != ETH_ALEN) in batadv_bla_process_claim()
1138 if (arphdr->ar_pln != 4) in batadv_bla_process_claim()
1141 hw_src = (u8 *)arphdr + sizeof(struct arphdr); in batadv_bla_process_claim()
/net/ipv4/netfilter/
Dnf_log_arp.c48 const struct arphdr *ah; in dump_arp_packet()
50 struct arphdr _arph; in dump_arp_packet()
Darp_tables.c82 static inline int arp_packet_match(const struct arphdr *arphdr, in arp_packet_match() argument
88 const char *arpptr = (char *)(arphdr + 1); in arp_packet_match()
94 (arphdr->ar_op & arpinfo->arpop_mask) != arpinfo->arpop)) in arp_packet_match()
98 (arphdr->ar_hrd & arpinfo->arhrd_mask) != arpinfo->arhrd)) in arp_packet_match()
102 (arphdr->ar_pro & arpinfo->arpro_mask) != arpinfo->arpro)) in arp_packet_match()
106 (arphdr->ar_hln & arpinfo->arhln_mask) != arpinfo->arhln)) in arp_packet_match()
189 const struct arphdr *arp; in arpt_do_table()
Darpt_mangle.c16 const struct arphdr *arp; in target()
Dipt_CLUSTERIP.c612 struct arphdr *arp = arp_hdr(skb); in arp_mangle()
/net/bridge/
Dbr_arp_nd_proxy.c126 struct arphdr *parp; in br_do_proxy_suppress_arp()
143 arpptr = (u8 *)parp + sizeof(struct arphdr); in br_do_proxy_suppress_arp()
Dbr_netfilter_hooks.c667 if (unlikely(!pskb_may_pull(skb, sizeof(struct arphdr)))) in br_nf_forward_arp()
/net/ipv4/
Dipconfig.c477 struct arphdr *rarp; in ic_rarp_recv()
490 if (!pskb_may_pull(skb, sizeof(struct arphdr))) in ic_rarp_recv()
494 rarp = (struct arphdr *)skb_transport_header(skb); in ic_rarp_recv()
514 rarp = (struct arphdr *)skb_transport_header(skb); in ic_rarp_recv()
Darp.c528 struct arphdr *arp; in arp_create()
679 struct arphdr *arp; in arp_process()
939 const struct arphdr *arp; in arp_rcv()
/net/core/
Dflow_dissector.c462 const struct arphdr *arp; in __skb_flow_dissect_arp()
463 struct arphdr _arp; in __skb_flow_dissect_arp()