Lines Matching refs:ethhdr
966 if (!pskb_may_pull(skb, sizeof(struct ethhdr) + sizeof(*iphdr))) in batadv_mcast_forw_mode_check_ipv4()
1030 if (!pskb_may_pull(skb, sizeof(struct ethhdr) + sizeof(*ip6hdr))) in batadv_mcast_forw_mode_check_ipv6()
1069 struct ethhdr *ethhdr = eth_hdr(skb); in batadv_mcast_forw_mode_check() local
1074 switch (ntohs(ethhdr->h_proto)) { in batadv_mcast_forw_mode_check()
1102 struct ethhdr *ethhdr) in batadv_mcast_forw_want_all_ip_count() argument
1104 switch (ntohs(ethhdr->h_proto)) { in batadv_mcast_forw_want_all_ip_count()
1148 struct ethhdr *ethhdr) in batadv_mcast_forw_tt_node_get() argument
1150 return batadv_transtable_search(bat_priv, NULL, ethhdr->h_dest, in batadv_mcast_forw_tt_node_get()
1219 struct ethhdr *ethhdr) in batadv_mcast_forw_ip_node_get() argument
1221 switch (ntohs(ethhdr->h_proto)) { in batadv_mcast_forw_ip_node_get()
1324 struct ethhdr *ethhdr) in batadv_mcast_forw_rtr_node_get() argument
1326 switch (ntohs(ethhdr->h_proto)) { in batadv_mcast_forw_rtr_node_get()
1355 struct ethhdr *ethhdr; in batadv_mcast_forw_mode() local
1365 ethhdr = eth_hdr(skb); in batadv_mcast_forw_mode()
1367 tt_count = batadv_tt_global_hash_count(bat_priv, ethhdr->h_dest, in batadv_mcast_forw_mode()
1369 ip_count = batadv_mcast_forw_want_all_ip_count(bat_priv, ethhdr); in batadv_mcast_forw_mode()
1379 *orig = batadv_mcast_forw_tt_node_get(bat_priv, ethhdr); in batadv_mcast_forw_mode()
1381 *orig = batadv_mcast_forw_ip_node_get(bat_priv, ethhdr); in batadv_mcast_forw_mode()
1386 ethhdr); in batadv_mcast_forw_mode()