Lines Matching refs:ethhdr
302 if (!pskb_may_pull(skb, sizeof(struct ethhdr) + sizeof(*iphdr))) in batadv_mcast_forw_mode_check_ipv4()
340 if (!pskb_may_pull(skb, sizeof(struct ethhdr) + sizeof(*ip6hdr))) in batadv_mcast_forw_mode_check_ipv6()
376 struct ethhdr *ethhdr = eth_hdr(skb); in batadv_mcast_forw_mode_check() local
384 switch (ntohs(ethhdr->h_proto)) { in batadv_mcast_forw_mode_check()
406 struct ethhdr *ethhdr) in batadv_mcast_forw_want_all_ip_count() argument
408 switch (ntohs(ethhdr->h_proto)) { in batadv_mcast_forw_want_all_ip_count()
429 struct ethhdr *ethhdr) in batadv_mcast_forw_tt_node_get() argument
431 return batadv_transtable_search(bat_priv, ethhdr->h_source, in batadv_mcast_forw_tt_node_get()
432 ethhdr->h_dest, BATADV_NO_FLAGS); in batadv_mcast_forw_tt_node_get()
500 struct ethhdr *ethhdr) in batadv_mcast_forw_ip_node_get() argument
502 switch (ntohs(ethhdr->h_proto)) { in batadv_mcast_forw_ip_node_get()
556 struct ethhdr *ethhdr; in batadv_mcast_forw_mode() local
564 ethhdr = eth_hdr(skb); in batadv_mcast_forw_mode()
566 tt_count = batadv_tt_global_hash_count(bat_priv, ethhdr->h_dest, in batadv_mcast_forw_mode()
568 ip_count = batadv_mcast_forw_want_all_ip_count(bat_priv, ethhdr); in batadv_mcast_forw_mode()
577 *orig = batadv_mcast_forw_tt_node_get(bat_priv, ethhdr); in batadv_mcast_forw_mode()
579 *orig = batadv_mcast_forw_ip_node_get(bat_priv, ethhdr); in batadv_mcast_forw_mode()