:orphan: .. index:: pair: struct; te_xdp_frame .. _doxid-structte__xdp__frame: struct te_xdp_frame =================== .. toctree:: :hidden: Overview ~~~~~~~~ Structure describing an Ethernet frame for XDP programs :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct te_xdp_frame { // fields __u8* :ref:`start`; __u8*const :ref:`end`; __u8* :ref:`l2_hdr`; __u32 :ref:`l2_type`; __u8* :ref:`l3_hdr`; __u32 :ref:`l3_type`; __u8* :ref:`end_parsed`; }; .. _details-structte__xdp__frame: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Structure describing an Ethernet frame for XDP programs Fields ------ .. index:: pair: variable; start .. _doxid-structte__xdp__frame_1ac11d85eca4397dc1afe40e0c8cb05218: .. ref-code-block:: cpp :class: doxyrest-title-code-block __u8* start Start of the frame .. index:: pair: variable; end .. _doxid-structte__xdp__frame_1aedbc85d75fbdc283964184287fc0cfd0: .. ref-code-block:: cpp :class: doxyrest-title-code-block __u8*const end End of the frame .. index:: pair: variable; l2_hdr .. _doxid-structte__xdp__frame_1a0ccd8e04145b46befede2f62c3319c14: .. ref-code-block:: cpp :class: doxyrest-title-code-block __u8* l2_hdr Pointer to level 2 header .. index:: pair: variable; l2_type .. _doxid-structte__xdp__frame_1a88271fc399caa35a94b6d7f569473b44: .. ref-code-block:: cpp :class: doxyrest-title-code-block __u32 l2_type Type of level 2 header .. index:: pair: variable; l3_hdr .. _doxid-structte__xdp__frame_1a56618dd647e0f2e646050c8ec1ce6770: .. ref-code-block:: cpp :class: doxyrest-title-code-block __u8* l3_hdr Pointer to level 3 header .. index:: pair: variable; l3_type .. _doxid-structte__xdp__frame_1a05a4afde4f14e2bf27a0caba71bcbe81: .. ref-code-block:: cpp :class: doxyrest-title-code-block __u32 l3_type Type of level 3 header .. index:: pair: variable; end_parsed .. _doxid-structte__xdp__frame_1acf762d2883e9de303b35df9a4fb50fed: .. ref-code-block:: cpp :class: doxyrest-title-code-block __u8* end_parsed Pointer to the first byte after parsed headers