Lines Matching refs:ethhdr
270 if (!pskb_may_pull(skb, sizeof(struct ethhdr) + sizeof(*iphdr))) in batadv_mcast_forw_mode_check_ipv4()
308 if (!pskb_may_pull(skb, sizeof(struct ethhdr) + sizeof(*ip6hdr))) in batadv_mcast_forw_mode_check_ipv6()
344 struct ethhdr *ethhdr = eth_hdr(skb); in batadv_mcast_forw_mode_check() local
352 switch (ntohs(ethhdr->h_proto)) { in batadv_mcast_forw_mode_check()
374 struct ethhdr *ethhdr) in batadv_mcast_forw_want_all_ip_count() argument
376 switch (ntohs(ethhdr->h_proto)) { in batadv_mcast_forw_want_all_ip_count()
397 struct ethhdr *ethhdr) in batadv_mcast_forw_tt_node_get() argument
399 return batadv_transtable_search(bat_priv, ethhdr->h_source, in batadv_mcast_forw_tt_node_get()
400 ethhdr->h_dest, BATADV_NO_FLAGS); in batadv_mcast_forw_tt_node_get()
468 struct ethhdr *ethhdr) in batadv_mcast_forw_ip_node_get() argument
470 switch (ntohs(ethhdr->h_proto)) { in batadv_mcast_forw_ip_node_get()
524 struct ethhdr *ethhdr; in batadv_mcast_forw_mode() local
532 ethhdr = eth_hdr(skb); in batadv_mcast_forw_mode()
534 tt_count = batadv_tt_global_hash_count(bat_priv, ethhdr->h_dest, in batadv_mcast_forw_mode()
536 ip_count = batadv_mcast_forw_want_all_ip_count(bat_priv, ethhdr); in batadv_mcast_forw_mode()
545 *orig = batadv_mcast_forw_tt_node_get(bat_priv, ethhdr); in batadv_mcast_forw_mode()
547 *orig = batadv_mcast_forw_ip_node_get(bat_priv, ethhdr); in batadv_mcast_forw_mode()