- struct {
- uint64_t flag;
- uint64_t mask;
- } tx_flags[] = {
- { PKT_TX_IP_CKSUM, PKT_TX_IP_CKSUM },
- { PKT_TX_UDP_CKSUM, PKT_TX_L4_MASK },
- { PKT_TX_TCP_CKSUM, PKT_TX_L4_MASK },
- { PKT_TX_SCTP_CKSUM, PKT_TX_L4_MASK },
- { PKT_TX_IPV4, PKT_TX_IPV4 },
- { PKT_TX_IPV6, PKT_TX_IPV6 },
- { PKT_TX_OUTER_IP_CKSUM, PKT_TX_OUTER_IP_CKSUM },
- { PKT_TX_OUTER_IPV4, PKT_TX_OUTER_IPV4 },
- { PKT_TX_OUTER_IPV6, PKT_TX_OUTER_IPV6 },
- { PKT_TX_TCP_SEG, PKT_TX_TCP_SEG },
- { PKT_TX_TUNNEL_VXLAN, PKT_TX_TUNNEL_MASK },
- { PKT_TX_TUNNEL_GRE, PKT_TX_TUNNEL_MASK },
- { PKT_TX_TUNNEL_IPIP, PKT_TX_TUNNEL_MASK },
- { PKT_TX_TUNNEL_GENEVE, PKT_TX_TUNNEL_MASK },
- };
- unsigned j;
- const char *name;