logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

rte_security_macsec_xform

Author

       Generated automatically by Doxygen for DPDK from the source code.

DPDK                                             Version 24.11.2                    rte_security_macsec_xform(3)

Detailed Description

       MACsec security session configuration

       Definition at line 429 of file rte_security.h.

Field Documentation

enumrte_security_macsec_directiondir
       Direction of flow/secure channel

       Definition at line 431 of file rte_security.h.

   enumrte_security_macsec_algalg
       MACsec algorithm to be used

       Definition at line 433 of file rte_security.h.

   uint8_tcipher_off
       Cipher offset from start of Ethernet header

       Definition at line 435 of file rte_security.h.

   uint64_tsci
       SCI to be used for RX flow identification or to set SCI in packet for TX when send_sci is set

       Definition at line 440 of file rte_security.h.

   uint16_tsc_id
       Receive/transmit secure channel ID created by rte_security_macsec_sc_create

       Definition at line 442 of file rte_security.h.

   uint16_tmtu
       MTU for transmit frame (valid for inline processing)

       Definition at line 446 of file rte_security.h.

   uint8_tsectag_off
       Offset to insert sectag from start of ethernet header or from a matching VLAN tag

       Definition at line 451 of file rte_security.h.

   uint16_tprotect_frames
       Enable MACsec protection of frames

       Definition at line 453 of file rte_security.h.

   uint16_tsectag_insert_mode
       Sectag insertion mode If 1, Sectag is inserted at fixed sectag_off set above. If 0, Sectag is inserted at
       relative sectag_off from a matching VLAN tag set.

       Definition at line 460 of file rte_security.h.

   uint16_ticv_include_da_sa
       ICV includes source and destination MAC addresses

       Definition at line 462 of file rte_security.h.

   uint16_tctrl_port_enable
       Control port is enabled

       Definition at line 464 of file rte_security.h.

   uint16_tsectag_version
       Version of MACsec header. Should be 0

       Definition at line 466 of file rte_security.h.

   uint16_tend_station
       Enable end station. SCI is not valid

       Definition at line 468 of file rte_security.h.

   uint16_tsend_sci
       Send SCI along with sectag

       Definition at line 470 of file rte_security.h.

   uint16_tscb
       enable secure channel support EPON - single copy broadcast

       Definition at line 472 of file rte_security.h.

   uint16_tencrypt
       Enable packet encryption and set RTE_MACSEC_TCI_C and RTE_MACSEC_TCI_E in sectag

       Definition at line 477 of file rte_security.h.

   uint16_treserved
       Reserved bitfields for future

       Definition at line 479 of file rte_security.h.

   uint32_treplay_win_sz
       Replay Window size to be supported

       Definition at line 483 of file rte_security.h.

   uint16_tvalidate_frames
       Set bits as per RTE_SECURITY_MACSEC_VALIDATE_*

       Definition at line 485 of file rte_security.h.

   uint16_tpreserve_sectag
       Do not strip SecTAG after processing

       Definition at line 491 of file rte_security.h.

   uint16_tpreserve_icv
       Do not strip ICV from the packet after processing

       Definition at line 493 of file rte_security.h.

   uint16_treplay_protect
       Enable anti-replay protection

       Definition at line 495 of file rte_security.h.

Name

       rte_security_macsec_xform

Synopsis

       #include <rte_security.h>

   DataFields
       enum rte_security_macsec_directiondir
       enum rte_security_macsec_algalg
       uint8_t cipher_off
       uint64_t sci
       uint16_t sc_id

See Also