Lines Matching defs:ethhdr
212 struct ethhdr *ethhdr;
220 ethhdr = (struct ethhdr *)skb_mac_header(skb);
223 if (ether_addr_equal(node->macaddress_A, ethhdr->h_source)) {
228 if (ether_addr_equal(node->macaddress_B, ethhdr->h_source)) {
238 if (ethhdr->h_proto == htons(ETH_P_PRP) ||
239 ethhdr->h_proto == htons(ETH_P_HSR)) {
255 return hsr_add_node(hsr, node_db, ethhdr->h_source, seq_out,
272 struct ethhdr *ethhdr;
286 ethhdr = (struct ethhdr *)skb_mac_header(skb);
289 skb_pull(skb, sizeof(struct ethhdr));
292 if (ethhdr->h_proto == htons(ETH_P_HSR))
314 ether_addr_copy(node_real->macaddress_B, ethhdr->h_source);
336 if (ethhdr->h_proto == htons(ETH_P_HSR))
409 * ethhdr->h_source address and skb->mac_header set.