Home
last modified time | relevance | path

Searched refs:HSR_HLEN (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/net/hsr/
Dhsr_forward.c85 skb_pull(skb_in, HSR_HLEN); in create_stripped_skb_hsr()
86 skb = __pskb_copy(skb_in, skb_headroom(skb_in) - HSR_HLEN, GFP_ATOMIC); in create_stripped_skb_hsr()
87 skb_push(skb_in, HSR_HLEN); in create_stripped_skb_hsr()
94 skb->csum_start -= HSR_HLEN; in create_stripped_skb_hsr()
132 frame->skb_prp->len - HSR_HLEN); in prp_get_untagged_frame()
181 trailer = (struct prp_rct *)skb_put(skb, HSR_HLEN); in prp_fill_rct()
214 if (skb_put_padto(skb, ETH_ZLEN + HSR_HLEN)) in hsr_fill_tag()
254 skb_headroom(frame->skb_std) + HSR_HLEN, GFP_ATOMIC); in hsr_create_tagged_frame()
260 skb->csum_start += HSR_HLEN; in hsr_create_tagged_frame()
267 dst = skb_push(skb, HSR_HLEN); in hsr_create_tagged_frame()
[all …]
Dhsr_device.c119 if (mtu_max < HSR_HLEN) in hsr_get_max_mtu()
121 return mtu_max - HSR_HLEN; in hsr_get_max_mtu()
132 HSR_HLEN); in hsr_dev_change_mtu()
338 if (skb_put_padto(skb, ETH_ZLEN + HSR_HLEN)) in send_hsr_supervision_frame()
379 if (skb_put_padto(skb, ETH_ZLEN + HSR_HLEN)) { in send_prp_supervision_frame()
384 tail = skb_tail_pointer(skb) - HSR_HLEN; in send_prp_supervision_frame()
Dhsr_main.h59 #define HSR_HLEN 6 macro
243 unsigned char *tail = skb_tail_pointer(skb) - HSR_HLEN; in skb_get_PRP_rct()
Dhsr_main.c142 BUILD_BUG_ON(sizeof(struct hsr_tag) != HSR_HLEN); in hsr_init()
Dhsr_slave.c64 skb_set_network_header(skb, ETH_HLEN + HSR_HLEN); in hsr_handle_frame()