Home
last modified time | relevance | path

Searched refs:hsr_ethhdr (Results 1 - 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/net/hsr/
H A Dhsr_forward.c194 static void hsr_set_path_id(struct hsr_ethhdr *hsr_ethhdr, in hsr_set_path_id() argument
204 set_hsr_tag_path(&hsr_ethhdr->hsr_tag, path_id); in hsr_set_path_id()
211 struct hsr_ethhdr *hsr_ethhdr; in hsr_fill_tag() local
222 hsr_ethhdr = (struct hsr_ethhdr *)skb_mac_header(skb); in hsr_fill_tag()
224 hsr_set_path_id(hsr_ethhdr, port); in hsr_fill_tag()
225 set_hsr_tag_LSDU_size(&hsr_ethhdr->hsr_tag, lsdu_size); in hsr_fill_tag()
226 hsr_ethhdr in hsr_fill_tag()
246 struct hsr_ethhdr *hsr_ethhdr = hsr_create_tagged_frame() local
[all...]
H A Dhsr_main.h86 struct hsr_ethhdr { struct
235 struct hsr_ethhdr *hsr_ethhdr; in hsr_get_skb_sequence_nr() local
237 hsr_ethhdr = (struct hsr_ethhdr *)skb_mac_header(skb); in hsr_get_skb_sequence_nr()
238 return ntohs(hsr_ethhdr->hsr_tag.sequence_nr); in hsr_get_skb_sequence_nr()
/kernel/linux/linux-6.6/net/hsr/
H A Dhsr_forward.c236 static void hsr_set_path_id(struct hsr_ethhdr *hsr_ethhdr, in hsr_set_path_id() argument
246 set_hsr_tag_path(&hsr_ethhdr->hsr_tag, path_id); in hsr_set_path_id()
253 struct hsr_ethhdr *hsr_ethhdr; in hsr_fill_tag() local
264 hsr_ethhdr = (struct hsr_ethhdr *)skb_mac_header(skb); in hsr_fill_tag()
266 hsr_set_path_id(hsr_ethhdr, port); in hsr_fill_tag()
267 set_hsr_tag_LSDU_size(&hsr_ethhdr->hsr_tag, lsdu_size); in hsr_fill_tag()
268 hsr_ethhdr in hsr_fill_tag()
288 struct hsr_ethhdr *hsr_ethhdr = hsr_create_tagged_frame() local
[all...]
H A Dhsr_main.h73 struct hsr_ethhdr { struct
229 struct hsr_ethhdr *hsr_ethhdr; in hsr_get_skb_sequence_nr() local
231 hsr_ethhdr = (struct hsr_ethhdr *)skb_mac_header(skb); in hsr_get_skb_sequence_nr()
232 return ntohs(hsr_ethhdr->hsr_tag.sequence_nr); in hsr_get_skb_sequence_nr()
H A Dhsr_framereg.c231 /* Check if skb contains hsr_ethhdr */ in hsr_get_node()
232 if (skb->mac_len < sizeof(struct hsr_ethhdr)) in hsr_get_node()

Completed in 4 milliseconds