Searched refs:hsr_ethhdr (Results 1 – 3 of 3) sorted by relevance
265 static void hsr_set_path_id(struct hsr_ethhdr *hsr_ethhdr, in hsr_set_path_id() argument275 set_hsr_tag_path(&hsr_ethhdr->hsr_tag, path_id); in hsr_set_path_id()282 struct hsr_ethhdr *hsr_ethhdr; in hsr_fill_tag() local303 hsr_ethhdr = (struct hsr_ethhdr *)(pc + VLAN_HLEN); in hsr_fill_tag()305 hsr_ethhdr = (struct hsr_ethhdr *)pc; in hsr_fill_tag()307 hsr_set_path_id(hsr_ethhdr, port); in hsr_fill_tag()310 hsr_ethhdr->hsr_tag.encap_proto = hsr_ethhdr->ethhdr.h_proto; in hsr_fill_tag()313 skb->protocol = hsr_ethhdr->ethhdr.h_proto; in hsr_fill_tag()329 struct hsr_ethhdr *hsr_ethhdr = in hsr_create_tagged_frame() local333 hsr_set_path_id(hsr_ethhdr, port); in hsr_create_tagged_frame()[all …]
75 struct hsr_ethhdr { struct231 struct hsr_ethhdr *hsr_ethhdr; in hsr_get_skb_sequence_nr() local233 hsr_ethhdr = (struct hsr_ethhdr *)skb_mac_header(skb); in hsr_get_skb_sequence_nr()234 return ntohs(hsr_ethhdr->hsr_tag.sequence_nr); in hsr_get_skb_sequence_nr()
261 if (skb->mac_len < sizeof(struct hsr_ethhdr)) in hsr_get_node()