Lines Matching refs:ethhdr

967 	if (!pskb_may_pull(skb, sizeof(struct ethhdr) + sizeof(*iphdr)))  in batadv_mcast_forw_mode_check_ipv4()
1031 if (!pskb_may_pull(skb, sizeof(struct ethhdr) + sizeof(*ip6hdr))) in batadv_mcast_forw_mode_check_ipv6()
1070 struct ethhdr *ethhdr = eth_hdr(skb); in batadv_mcast_forw_mode_check() local
1075 switch (ntohs(ethhdr->h_proto)) { in batadv_mcast_forw_mode_check()
1103 struct ethhdr *ethhdr) in batadv_mcast_forw_want_all_ip_count() argument
1105 switch (ntohs(ethhdr->h_proto)) { in batadv_mcast_forw_want_all_ip_count()
1149 struct ethhdr *ethhdr) in batadv_mcast_forw_tt_node_get() argument
1151 return batadv_transtable_search(bat_priv, NULL, ethhdr->h_dest, in batadv_mcast_forw_tt_node_get()
1220 struct ethhdr *ethhdr) in batadv_mcast_forw_ip_node_get() argument
1222 switch (ntohs(ethhdr->h_proto)) { in batadv_mcast_forw_ip_node_get()
1325 struct ethhdr *ethhdr) in batadv_mcast_forw_rtr_node_get() argument
1327 switch (ntohs(ethhdr->h_proto)) { in batadv_mcast_forw_rtr_node_get()
1356 struct ethhdr *ethhdr; in batadv_mcast_forw_mode() local
1366 ethhdr = eth_hdr(skb); in batadv_mcast_forw_mode()
1368 tt_count = batadv_tt_global_hash_count(bat_priv, ethhdr->h_dest, in batadv_mcast_forw_mode()
1370 ip_count = batadv_mcast_forw_want_all_ip_count(bat_priv, ethhdr); in batadv_mcast_forw_mode()
1380 *orig = batadv_mcast_forw_tt_node_get(bat_priv, ethhdr); in batadv_mcast_forw_mode()
1382 *orig = batadv_mcast_forw_ip_node_get(bat_priv, ethhdr); in batadv_mcast_forw_mode()
1387 ethhdr); in batadv_mcast_forw_mode()