API Reference Manual 1.51.0
Loading...
Searching...
No Matches
odp_packet_parse_result_flag_t Struct Reference

Parse result flags. More...

#include <packet_types.h>

Data Fields

union { 
 
   uint64_t   all 
 All flags as a 64 bit word. More...
 
   struct { 
 
      uint64_t   has_error: 1 
 See odp_packet_has_error() More...
 
      uint64_t   has_l2_error: 1 
 See odp_packet_has_l2_error() More...
 
      uint64_t   has_l3_error: 1 
 See odp_packet_has_l3_error() More...
 
      uint64_t   has_l4_error: 1 
 See odp_packet_has_l4_error() More...
 
      uint64_t   has_l2: 1 
 See odp_packet_has_l2() More...
 
      uint64_t   has_l3: 1 
 See odp_packet_has_l3() More...
 
      uint64_t   has_l4: 1 
 See odp_packet_has_l4() More...
 
      uint64_t   has_eth: 1 
 See odp_packet_has_eth() More...
 
      uint64_t   has_eth_bcast: 1 
 See odp_packet_has_eth_bcast() More...
 
      uint64_t   has_eth_mcast: 1 
 See odp_packet_has_eth_mcast() More...
 
      uint64_t   has_jumbo: 1 
 See odp_packet_has_jumbo() More...
 
      uint64_t   has_vlan: 1 
 See odp_packet_has_vlan() More...
 
      uint64_t   has_vlan_qinq: 1 
 See odp_packet_has_vlan_qinq() More...
 
      uint64_t   has_arp: 1 
 See odp_packet_has_arp() More...
 
      uint64_t   has_ipv4: 1 
 See odp_packet_has_ipv4() More...
 
      uint64_t   has_ipv6: 1 
 See odp_packet_has_ipv6() More...
 
      uint64_t   has_ip_bcast: 1 
 See odp_packet_has_ip_bcast() More...
 
      uint64_t   has_ip_mcast: 1 
 See odp_packet_has_ip_mcast() More...
 
      uint64_t   has_ipfrag: 1 
 See odp_packet_has_ipfrag() More...
 
      uint64_t   has_ipopt: 1 
 See odp_packet_has_ipopt() More...
 
      uint64_t   has_ipsec: 1 
 See odp_packet_has_ipsec() More...
 
      uint64_t   has_udp: 1 
 See odp_packet_has_udp() More...
 
      uint64_t   has_tcp: 1 
 See odp_packet_has_tcp() More...
 
      uint64_t   has_sctp: 1 
 See odp_packet_has_sctp() More...
 
      uint64_t   has_icmp: 1 
 See odp_packet_has_icmp() More...
 
   }  
 Flags as a bitfield struct.
 
};  
 Flags union.
 

Detailed Description

Parse result flags.

Definition at line 369 of file api/spec/packet_types.h.

Field Documentation

◆ all

uint64_t odp_packet_parse_result_flag_t::all

All flags as a 64 bit word.

Definition at line 373 of file api/spec/packet_types.h.

◆ has_error

uint64_t odp_packet_parse_result_flag_t::has_error

See odp_packet_has_error()

Definition at line 378 of file api/spec/packet_types.h.

◆ has_l2_error

uint64_t odp_packet_parse_result_flag_t::has_l2_error

See odp_packet_has_l2_error()

Definition at line 380 of file api/spec/packet_types.h.

◆ has_l3_error

uint64_t odp_packet_parse_result_flag_t::has_l3_error

See odp_packet_has_l3_error()

Definition at line 382 of file api/spec/packet_types.h.

◆ has_l4_error

uint64_t odp_packet_parse_result_flag_t::has_l4_error

See odp_packet_has_l4_error()

Definition at line 384 of file api/spec/packet_types.h.

◆ has_l2

uint64_t odp_packet_parse_result_flag_t::has_l2

See odp_packet_has_l2()

Definition at line 386 of file api/spec/packet_types.h.

◆ has_l3

uint64_t odp_packet_parse_result_flag_t::has_l3

See odp_packet_has_l3()

Definition at line 388 of file api/spec/packet_types.h.

◆ has_l4

uint64_t odp_packet_parse_result_flag_t::has_l4

See odp_packet_has_l4()

Definition at line 390 of file api/spec/packet_types.h.

◆ has_eth

uint64_t odp_packet_parse_result_flag_t::has_eth

See odp_packet_has_eth()

Definition at line 392 of file api/spec/packet_types.h.

◆ has_eth_bcast

uint64_t odp_packet_parse_result_flag_t::has_eth_bcast

See odp_packet_has_eth_bcast()

Definition at line 394 of file api/spec/packet_types.h.

◆ has_eth_mcast

uint64_t odp_packet_parse_result_flag_t::has_eth_mcast

See odp_packet_has_eth_mcast()

Definition at line 396 of file api/spec/packet_types.h.

◆ has_jumbo

uint64_t odp_packet_parse_result_flag_t::has_jumbo

See odp_packet_has_jumbo()

Definition at line 398 of file api/spec/packet_types.h.

◆ has_vlan

uint64_t odp_packet_parse_result_flag_t::has_vlan

See odp_packet_has_vlan()

Definition at line 400 of file api/spec/packet_types.h.

◆ has_vlan_qinq

uint64_t odp_packet_parse_result_flag_t::has_vlan_qinq

See odp_packet_has_vlan_qinq()

Definition at line 402 of file api/spec/packet_types.h.

◆ has_arp

uint64_t odp_packet_parse_result_flag_t::has_arp

See odp_packet_has_arp()

Definition at line 404 of file api/spec/packet_types.h.

◆ has_ipv4

uint64_t odp_packet_parse_result_flag_t::has_ipv4

See odp_packet_has_ipv4()

Definition at line 406 of file api/spec/packet_types.h.

◆ has_ipv6

uint64_t odp_packet_parse_result_flag_t::has_ipv6

See odp_packet_has_ipv6()

Definition at line 408 of file api/spec/packet_types.h.

◆ has_ip_bcast

uint64_t odp_packet_parse_result_flag_t::has_ip_bcast

See odp_packet_has_ip_bcast()

Definition at line 410 of file api/spec/packet_types.h.

◆ has_ip_mcast

uint64_t odp_packet_parse_result_flag_t::has_ip_mcast

See odp_packet_has_ip_mcast()

Definition at line 412 of file api/spec/packet_types.h.

◆ has_ipfrag

uint64_t odp_packet_parse_result_flag_t::has_ipfrag

See odp_packet_has_ipfrag()

Definition at line 414 of file api/spec/packet_types.h.

◆ has_ipopt

uint64_t odp_packet_parse_result_flag_t::has_ipopt

See odp_packet_has_ipopt()

Definition at line 416 of file api/spec/packet_types.h.

◆ has_ipsec

uint64_t odp_packet_parse_result_flag_t::has_ipsec

See odp_packet_has_ipsec()

Definition at line 418 of file api/spec/packet_types.h.

◆ has_udp

uint64_t odp_packet_parse_result_flag_t::has_udp

See odp_packet_has_udp()

Definition at line 420 of file api/spec/packet_types.h.

◆ has_tcp

uint64_t odp_packet_parse_result_flag_t::has_tcp

See odp_packet_has_tcp()

Definition at line 422 of file api/spec/packet_types.h.

◆ has_sctp

uint64_t odp_packet_parse_result_flag_t::has_sctp

See odp_packet_has_sctp()

Definition at line 424 of file api/spec/packet_types.h.

◆ has_icmp

uint64_t odp_packet_parse_result_flag_t::has_icmp

See odp_packet_has_icmp()

Definition at line 426 of file api/spec/packet_types.h.


The documentation for this struct was generated from the following file: