Home
last modified time | relevance | path

Searched refs:macsec_eth_header (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/
H A Dmacsec.c29 /* SecTAG length = macsec_eth_header without the optional SCI */
32 struct macsec_eth_header { struct
276 static sci_t macsec_frame_sci(struct macsec_eth_header *hdr, bool sci_present) in macsec_frame_sci()
305 static void macsec_fill_sectag(struct macsec_eth_header *h, in macsec_fill_sectag()
336 static void macsec_set_shortlen(struct macsec_eth_header *h, size_t data_len) in macsec_set_shortlen()
404 struct macsec_eth_header *h = (struct macsec_eth_header *)skb->data; in macsec_validate_skb()
457 static struct macsec_eth_header *macsec_ethhdr(struct sk_buff *skb) in macsec_ethhdr()
459 return (struct macsec_eth_header *)skb_mac_header(skb); in macsec_ethhdr()
614 struct macsec_eth_header *h in macsec_encrypt()
[all...]
/kernel/linux/linux-6.6/drivers/net/
H A Dmacsec.c28 /* SecTAG length = macsec_eth_header without the optional SCI */
31 struct macsec_eth_header { struct
259 static sci_t macsec_frame_sci(struct macsec_eth_header *hdr, bool sci_present) in macsec_frame_sci()
288 static void macsec_fill_sectag(struct macsec_eth_header *h, in macsec_fill_sectag()
319 static void macsec_set_shortlen(struct macsec_eth_header *h, size_t data_len) in macsec_set_shortlen()
387 struct macsec_eth_header *h = (struct macsec_eth_header *)skb->data; in macsec_validate_skb()
440 static struct macsec_eth_header *macsec_ethhdr(struct sk_buff *skb) in macsec_ethhdr()
442 return (struct macsec_eth_header *)skb_mac_header(skb); in macsec_ethhdr()
586 struct macsec_eth_header *h in macsec_encrypt()
[all...]

Completed in 7 milliseconds