Lines Matching refs:tci_an
34 u8 tci_an; member
294 memset(&h->tci_an, 0, macsec_sectag_len(sci_present)); in macsec_fill_sectag()
298 h->tci_an |= MACSEC_TCI_SC; in macsec_fill_sectag()
303 h->tci_an |= MACSEC_TCI_ES; in macsec_fill_sectag()
305 h->tci_an |= MACSEC_TCI_SCB; in macsec_fill_sectag()
312 h->tci_an |= MACSEC_TCI_CONFID; in macsec_fill_sectag()
314 h->tci_an |= MACSEC_TCI_C; in macsec_fill_sectag()
316 h->tci_an |= tx_sc->encoding_sa; in macsec_fill_sectag()
389 int extra_len = macsec_extra_len(!!(h->tci_an & MACSEC_TCI_SC)) + icv_len; in macsec_validate_skb()
398 if (h->tci_an & MACSEC_TCI_VERSION) in macsec_validate_skb()
402 if ((h->tci_an & MACSEC_TCI_ES || h->tci_an & MACSEC_TCI_SCB) && in macsec_validate_skb()
403 (h->tci_an & MACSEC_TCI_SC)) in macsec_validate_skb()
753 if (hdr->tci_an & MACSEC_TCI_E) in macsec_post_decrypt()
764 if (hdr->tci_an & MACSEC_TCI_C || in macsec_post_decrypt()
933 if (hdr->tci_an & MACSEC_TCI_E) { in macsec_decrypt()
1129 if ((hdr->tci_an & (MACSEC_TCI_C | MACSEC_TCI_E)) == MACSEC_TCI_E) in macsec_handle_frame()
1133 if (hdr->tci_an & MACSEC_TCI_SC) { in macsec_handle_frame()
1141 macsec_skb_cb(skb)->has_sci = !!(hdr->tci_an & MACSEC_TCI_SC); in macsec_handle_frame()
1142 macsec_skb_cb(skb)->assoc_num = hdr->tci_an & MACSEC_AN_MASK; in macsec_handle_frame()
1184 if (hdr->tci_an & MACSEC_TCI_C || in macsec_handle_frame()
1231 if (hdr->tci_an & MACSEC_TCI_C || in macsec_handle_frame()
1283 cbit = !!(hdr->tci_an & MACSEC_TCI_C); in macsec_handle_frame()