Searched refs:arphdr (Results 1 – 16 of 16) sorted by relevance
/net/bridge/netfilter/ |
D | ebt_arp.c | 23 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()
|
D | ebt_among.c | 82 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()
|
D | ebt_snat.c | 31 const struct arphdr *ap; in ebt_snat_tg() 32 struct arphdr _ah; in ebt_snat_tg()
|
D | ebt_arpreply.c | 25 const struct arphdr *ap; in ebt_arpreply_tg() 26 struct arphdr _ah; in ebt_arpreply_tg()
|
D | ebt_log.c | 141 const struct arphdr *ah; in ebt_log_packet() 142 struct arphdr _arph; in ebt_log_packet()
|
/net/batman-adv/ |
D | distributed-arp-table.c | 234 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()
|
D | bridge_loop_avoidance.c | 376 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/ |
D | nf_log_arp.c | 48 const struct arphdr *ah; in dump_arp_packet() 50 struct arphdr _arph; in dump_arp_packet()
|
D | arp_tables.c | 82 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()
|
D | arpt_mangle.c | 16 const struct arphdr *arp; in target()
|
D | ipt_CLUSTERIP.c | 612 struct arphdr *arp = arp_hdr(skb); in arp_mangle()
|
/net/bridge/ |
D | br_arp_nd_proxy.c | 126 struct arphdr *parp; in br_do_proxy_suppress_arp() 143 arpptr = (u8 *)parp + sizeof(struct arphdr); in br_do_proxy_suppress_arp()
|
D | br_netfilter_hooks.c | 667 if (unlikely(!pskb_may_pull(skb, sizeof(struct arphdr)))) in br_nf_forward_arp()
|
/net/ipv4/ |
D | ipconfig.c | 477 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()
|
D | arp.c | 528 struct arphdr *arp; in arp_create() 679 struct arphdr *arp; in arp_process() 939 const struct arphdr *arp; in arp_rcv()
|
/net/core/ |
D | flow_dissector.c | 462 const struct arphdr *arp; in __skb_flow_dissect_arp() 463 struct arphdr _arp; in __skb_flow_dissect_arp()
|