Lines Matching defs:ethhdr
203 struct ethhdr *ethhdr;
211 ethhdr = (struct ethhdr *)skb_mac_header(skb);
214 if (ether_addr_equal(node->macaddress_A, ethhdr->h_source)) {
219 if (ether_addr_equal(node->macaddress_B, ethhdr->h_source)) {
229 if (ethhdr->h_proto == htons(ETH_P_PRP) ||
230 ethhdr->h_proto == htons(ETH_P_HSR)) {
250 return hsr_add_node(hsr, node_db, ethhdr->h_source, seq_out,
268 struct ethhdr *ethhdr;
287 pull_size = sizeof(struct ethhdr);
291 ethhdr = (struct ethhdr *)skb_mac_header(skb);
294 if (ethhdr->h_proto == htons(ETH_P_HSR)) {
353 ether_addr_copy(node_real->macaddress_B, ethhdr->h_source);
449 * ethhdr->h_source address and skb->mac_header set.