Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/
Dmacsec.c262 static sci_t macsec_frame_sci(struct macsec_eth_header *hdr, bool sci_present) in macsec_frame_sci() argument
266 if (sci_present) in macsec_frame_sci()
275 static unsigned int macsec_sectag_len(bool sci_present) in macsec_sectag_len() argument
277 return MACSEC_TAG_LEN + (sci_present ? MACSEC_SCI_LEN : 0); in macsec_sectag_len()
280 static unsigned int macsec_hdr_len(bool sci_present) in macsec_hdr_len() argument
282 return macsec_sectag_len(sci_present) + ETH_HLEN; in macsec_hdr_len()
285 static unsigned int macsec_extra_len(bool sci_present) in macsec_extra_len() argument
287 return macsec_sectag_len(sci_present) + sizeof(__be16); in macsec_extra_len()
293 bool sci_present) in macsec_fill_sectag() argument
297 memset(&h->tci_an, 0, macsec_sectag_len(sci_present)); in macsec_fill_sectag()
[all …]