Searched refs:l4 (Results 1 - 10 of 10) sorted by relevance

/tldk/test/gtest/
H A Dtest_common.h64 fill_pkt_hdr_len(struct rte_mbuf *m, uint32_t l2, uint32_t l3, uint32_t l4);
H A Dtest_common.cpp69 fill_pkt_hdr_len(struct rte_mbuf *m, uint32_t l2, uint32_t l3, uint32_t l4) argument
73 m->l4_len = l4;
/tldk/examples/l4fwd/
H A Dudp.h28 struct sockaddr_in *l4; local
72 l4 = (struct sockaddr_in *) &sprm->local_addr;
73 errport = ntohs(l4->sin_port);
234 struct sockaddr_in *l4, *r4; local
238 l4 = (struct sockaddr_in *)l;
240 return (l4->sin_port == r4->sin_port &&
241 l4->sin_addr.s_addr == r4->sin_addr.s_addr);
H A Dlcore.h411 const struct sockaddr_in *l4, *r4; local
415 l4 = (const struct sockaddr_in *)la;
417 return netbe_find4(&l4->sin_addr, ntohs(l4->sin_port),
H A Dcommon.h32 struct sockaddr_in *l4, *r4; local
40 l4 = (struct sockaddr_in *)la;
43 lport = l4->sin_port;
H A Dtcp.h48 struct sockaddr_in *l4; local
99 l4 = (struct sockaddr_in *) &sprm->local_addr;
100 errport = ntohs(l4->sin_port);
H A Dpkt.c46 fill_pkt_hdr_len(struct rte_mbuf *m, uint32_t l2, uint32_t l3, uint32_t l4) argument
48 m->tx_offload = _mbuf_tx_offload(l2, l3, l4, 0, 0, 0);
956 .name = "HW l2/l3x/l4-tcp ptype",
962 .name = "HW l2/l3/l4-tcp ptype",
984 .name = "HW l2/l3x/l4-udp ptype",
990 .name = "HW l2/l3/l4-udp ptype",
/tldk/lib/libtle_l4p/
H A Dmisc.h79 uint32_t l2, l3, l4; local
83 l4 = ofl >> 16 & UINT8_MAX;
85 return l2 + l3 + l4;
307 /* case 0: both ip and l4 cksum is verified or data is valid */
311 /* case 1: either ip or l4 cksum bad */
315 /* case 2: either ip or l4 or both cksum is unknown */
H A Dtcp_rxtx.c219 uint32_t l4, len, plen; local
227 l4 = sizeof(*l4h) + TCP_TX_OPT_LEN_MAX;
229 l4 = sizeof(*l4h) + TCP_TX_OPT_LEN_TMS;
231 l4 = sizeof(*l4h);
234 l2h = rte_pktmbuf_prepend(m, len + l4);
243 fill_tcph(l4h, &s->tcb, port, seq, l4, flags);
246 m->tx_offload = _mbuf_tx_offload(dst->l2_len, dst->l3_len, l4, 0, 0, 0);
255 l3h->total_length = rte_cpu_to_be_16(plen + dst->l3_len + l4);
268 l3h->payload_len = rte_cpu_to_be_16(plen + l4);
/tldk/app/nginx/src/tldk/
H A Dbe.c647 fill_pkt_hdr_len(struct rte_mbuf *m, uint32_t l2, uint32_t l3, uint32_t l4) argument
649 m->tx_offload = _mbuf_tx_offload(l2, l3, l4, 0, 0, 0);
1004 .name = "HW l2/l3x/l4-tcp ptype",
1010 .name = "HW l2/l3/l4-tcp ptype",

Completed in 12 milliseconds