Home
last modified time | relevance | path

Searched refs:hsr_ethhdr (Results 1 – 3 of 3) sorted by relevance

/net/hsr/
Dhsr_forward.c126 struct hsr_ethhdr *hsr_ethhdr; in hsr_fill_tag() local
139 hsr_ethhdr = (struct hsr_ethhdr *)skb_mac_header(skb); in hsr_fill_tag()
141 set_hsr_tag_path(&hsr_ethhdr->hsr_tag, lane_id); in hsr_fill_tag()
142 set_hsr_tag_LSDU_size(&hsr_ethhdr->hsr_tag, lsdu_size); in hsr_fill_tag()
143 hsr_ethhdr->hsr_tag.sequence_nr = htons(frame->sequence_nr); in hsr_fill_tag()
144 hsr_ethhdr->hsr_tag.encap_proto = hsr_ethhdr->ethhdr.h_proto; in hsr_fill_tag()
145 hsr_ethhdr->ethhdr.h_proto = htons(proto_version ? in hsr_fill_tag()
Dhsr_main.h87 struct hsr_ethhdr { struct
181 struct hsr_ethhdr *hsr_ethhdr; in hsr_get_skb_sequence_nr() local
183 hsr_ethhdr = (struct hsr_ethhdr *)skb_mac_header(skb); in hsr_get_skb_sequence_nr()
184 return ntohs(hsr_ethhdr->hsr_tag.sequence_nr); in hsr_get_skb_sequence_nr()
Dhsr_framereg.c202 if (skb->mac_len < sizeof(struct hsr_ethhdr)) in hsr_get_node()