Searched refs:hsr_ethhdr (Results 1 – 2 of 2) sorted by relevance
268 struct hsr_ethhdr *hsr_ethhdr, in hsr_set_path_id() argument285 set_hsr_tag_path(&hsr_ethhdr->hsr_tag, path_id); in hsr_set_path_id()292 struct hsr_ethhdr *hsr_ethhdr; in hsr_fill_tag() local313 hsr_ethhdr = (struct hsr_ethhdr *)(pc + VLAN_HLEN); in hsr_fill_tag()315 hsr_ethhdr = (struct hsr_ethhdr *)pc; in hsr_fill_tag()317 hsr_set_path_id(frame, hsr_ethhdr, port); in hsr_fill_tag()318 set_hsr_tag_LSDU_size(&hsr_ethhdr->hsr_tag, lsdu_size); in hsr_fill_tag()319 hsr_ethhdr->hsr_tag.sequence_nr = htons(frame->sequence_nr); in hsr_fill_tag()320 hsr_ethhdr->hsr_tag.encap_proto = hsr_ethhdr->ethhdr.h_proto; in hsr_fill_tag()321 hsr_ethhdr->ethhdr.h_proto = htons(proto_version ? in hsr_fill_tag()[all …]
299 if (skb->mac_len < sizeof(struct hsr_ethhdr)) in hsr_get_node()