Lines Matching defs:ethhdr
1000 if (!pskb_may_pull(skb, sizeof(struct ethhdr) + sizeof(*iphdr)))
1064 if (!pskb_may_pull(skb, sizeof(struct ethhdr) + sizeof(*ip6hdr)))
1103 struct ethhdr *ethhdr = eth_hdr(skb);
1108 switch (ntohs(ethhdr->h_proto)) {
1129 * @ethhdr: ethernet header of a packet
1132 * given ethhdr is from an IPv4 packet or the number of nodes which want all
1136 struct ethhdr *ethhdr)
1138 switch (ntohs(ethhdr->h_proto)) {
1175 * @ethhdr: the ether header containing the multicast destination
1177 * Return: an orig_node matching the multicast address provided by ethhdr
1182 struct ethhdr *ethhdr)
1184 return batadv_transtable_search(bat_priv, NULL, ethhdr->h_dest,
1245 * @ethhdr: an ethernet header to determine the protocol family from
1248 * BATADV_MCAST_WANT_ALL_IPV6 flag, depending on the provided ethhdr, sets and
1253 struct ethhdr *ethhdr)
1255 switch (ntohs(ethhdr->h_proto)) {
1350 * @ethhdr: an ethernet header to determine the protocol family from
1353 * BATADV_MCAST_WANT_NO_RTR6 flag, depending on the provided ethhdr, set and
1358 struct ethhdr *ethhdr)
1360 switch (ntohs(ethhdr->h_proto)) {
1389 struct ethhdr *ethhdr;
1399 ethhdr = eth_hdr(skb);
1401 tt_count = batadv_tt_global_hash_count(bat_priv, ethhdr->h_dest,
1403 ip_count = batadv_mcast_forw_want_all_ip_count(bat_priv, ethhdr);
1413 *orig = batadv_mcast_forw_tt_node_get(bat_priv, ethhdr);
1415 *orig = batadv_mcast_forw_ip_node_get(bat_priv, ethhdr);
1420 ethhdr);