Home
last modified time | relevance | path

Searched refs:next_proto (Results 1 – 16 of 16) sorted by relevance

/f-stack/dpdk/app/test-pmd/
H A D5tswap.c90 uint16_t next_proto; in pkt_burst_5tuple_swap() local
144 next_proto = h.ipv4->next_proto_id; in pkt_burst_5tuple_swap()
149 next_proto = h.ipv6->proto; in pkt_burst_5tuple_swap()
156 if (next_proto == IPPROTO_UDP) { in pkt_burst_5tuple_swap()
159 } else if (next_proto == IPPROTO_TCP) { in pkt_burst_5tuple_swap()
H A Dcmdline_flow.c7360 update_fields(uint8_t *buf, struct rte_flow_item *item, uint16_t next_proto) in update_fields() argument
7373 if (next_proto) in update_fields()
7374 eth->ether_type = rte_cpu_to_be_16(next_proto); in update_fields()
7379 if (next_proto && ipv4->next_proto_id == 0) in update_fields()
7380 ipv4->next_proto_id = (uint8_t)next_proto; in update_fields()
7384 if (next_proto && ipv6->proto == 0) in update_fields()
7385 ipv6->proto = (uint8_t)next_proto; in update_fields()
/f-stack/dpdk/lib/librte_net/
H A Drte_ip.h526 int next_proto; in rte_ipv6_get_next_ext() local
530 next_proto = *p++; in rte_ipv6_get_next_ext()
537 next_proto = *p++; in rte_ipv6_get_next_ext()
542 next_proto = *p; in rte_ipv6_get_next_ext()
550 return next_proto; in rte_ipv6_get_next_ext()
H A Drte_esp.h33 uint8_t next_proto; /**< IPv4 or IPv6 or next layer header */ member
/f-stack/dpdk/lib/librte_ipsec/
H A Drte_ipsec_sa.h42 uint8_t next_proto; /**< next header protocol */ member
H A Dsa.c193 if (prm->tun.next_proto == IPPROTO_IPIP) in fill_sa_type()
195 else if (prm->tun.next_proto == IPPROTO_IPV6) in fill_sa_type()
274 sa->proto = prm->tun.next_proto; in esp_inb_tun_init()
337 sa->proto = prm->tun.next_proto; in esp_outb_tun_init()
H A Desp_inb.c427 espt.next_proto != proto); in tun_process_check()
612 l2, hl[i] - l2, espt[i].next_proto); in trs_process()
H A Desp_outb.c181 espt->next_proto = sa->proto; in outb_tun_pkt_prepare()
348 espt->next_proto = np; in outb_trs_pkt_prepare()
/f-stack/dpdk/drivers/net/i40e/
H A Di40e_fdir.c747 uint8_t next_proto, uint8_t len, uint16_t *ether_type) in fill_ip6_head() argument
758 fdir_input->flow.ipv6_flow.proto : next_proto; in fill_ip6_head()
778 uint8_t next_proto, uint8_t len, uint16_t *ether_type) in fill_ip4_head() argument
793 fdir_input->flow.ip4_flow.proto : next_proto; in fill_ip4_head()
818 static const uint8_t next_proto[] = { in i40e_flow_fdir_fill_eth_ip_head() local
878 next_proto[pctype], len, ether_type); in i40e_flow_fdir_fill_eth_ip_head()
885 next_proto[pctype], len, in i40e_flow_fdir_fill_eth_ip_head()
/f-stack/dpdk/lib/librte_ethdev/
H A Drte_flow.h1522 uint32_t next_proto:8; member
1531 .next_proto = 0xff,
/f-stack/dpdk/drivers/net/mlx5/
H A Dmlx5_flow.c1976 uint8_t next_proto = 0xFF; in mlx5_flow_validate_item_ipv4() local
1991 if (next_proto == IPPROTO_IPIP || next_proto == IPPROTO_IPV6) in mlx5_flow_validate_item_ipv4()
2082 uint8_t next_proto = 0xFF; in mlx5_flow_validate_item_ipv6() local
2094 next_proto = spec->hdr.proto; in mlx5_flow_validate_item_ipv6()
2096 if (next_proto == IPPROTO_IPIP || next_proto == IPPROTO_IPV6) in mlx5_flow_validate_item_ipv6()
2103 if (next_proto == IPPROTO_HOPOPTS || in mlx5_flow_validate_item_ipv6()
2104 next_proto == IPPROTO_ROUTING || in mlx5_flow_validate_item_ipv6()
2105 next_proto == IPPROTO_FRAGMENT || in mlx5_flow_validate_item_ipv6()
2106 next_proto == IPPROTO_ESP || in mlx5_flow_validate_item_ipv6()
2107 next_proto == IPPROTO_AH || in mlx5_flow_validate_item_ipv6()
[all …]
/f-stack/dpdk/examples/ipsec-secgw/
H A Dipsec-secgw.c381 int next_proto; in prepare_one_packet() local
390 next_proto = iph6->proto; in prepare_one_packet()
395 while (next_proto != IPPROTO_ESP && l3len < pkt->data_len && in prepare_one_packet()
396 (next_proto = rte_ipv6_get_next_ext(p + l3len, in prepare_one_packet()
397 next_proto, &ext_len)) >= 0) in prepare_one_packet()
406 if (next_proto == IPPROTO_ESP) in prepare_one_packet()
H A Dsa.c1297 prm->tun.next_proto = rc; in fill_ipsec_sa_prm()
1302 prm->tun.next_proto = rc; in fill_ipsec_sa_prm()
/f-stack/dpdk/app/test/
H A Dtest_ipsec_perf.c162 prm->tun.next_proto = IPPROTO_IPIP; in fill_ipsec_param()
H A Dtest_ipsec.c591 .next_proto = IPPROTO_IPIP, in setup_test_string_tunneled()
701 prm->tun.next_proto = IPPROTO_IPIP; in fill_ipsec_param()
/f-stack/dpdk/doc/guides/prog_guide/
H A Drte_flow.rst1341 - ``next_proto``: indicates protocol type of encap data (8 bits).
1344 - Default ``mask`` matches mdtype, next_proto, spi, sindex.