Searched refs:cksum (Results 1 - 7 of 7) sorted by relevance

/tldk/lib/libtle_l4p/
H A Dmisc.h159 * @param cksum
166 uint32_t cksum)
178 cksum += __raw_cksum(data, dlen);
183 cksum = ((cksum & 0xffff0000) >> 16) + (cksum & 0xffff);
184 cksum = (~cksum) & 0xffff;
185 if (cksum == 0)
186 cksum
165 __udptcp_mbuf_cksum(const struct rte_mbuf *mb, uint16_t l4_ofs, uint32_t cksum) argument
248 uint32_t cksum; local
272 uint32_t cksum; local
283 uint16_t cksum; local
[all...]
H A Dudp_stream.h37 uint16_t cksum; member in struct:udph::__anon543
H A Dudp_rxtx.c286 /* drop packets with invalid cksum(s). */
365 l4h->cksum = _ipv4x_phdr_cksum(l3h, m->l3_len,
368 l4h->cksum = _ipv4_udptcp_mbuf_cksum(m, len, l3h);
377 l4h->cksum = rte_ipv6_phdr_cksum(l3h, ol_flags);
379 l4h->cksum = _ipv6_udptcp_mbuf_cksum(m, len, l3h);
H A Dtcp_rxtx.c204 l4h->cksum = 0;
258 l4h->cksum = _ipv4x_phdr_cksum(l3h, m->l3_len,
261 l4h->cksum = _ipv4_udptcp_mbuf_cksum(m, len, l3h);
270 l4h->cksum = rte_ipv6_phdr_cksum(l3h, ol_flags);
272 l4h->cksum = _ipv6_udptcp_mbuf_cksum(m, len, l3h);
282 * - if no HW cksum offloads are enabled, calculates TCP checksum.
312 l4h->cksum = 0;
318 l4h->cksum = _ipv4_udptcp_mbuf_cksum(m, len, l3h);
324 l4h->cksum = _ipv6_udptcp_mbuf_cksum(m, len, l3h);
/tldk/test/gtest/
H A Dtest_common.cpp125 uint16_t cksum; local
127 cksum = rte_raw_cksum(iph, len);
128 return (cksum == 0xffff) ? cksum : ~cksum;
/tldk/examples/l4fwd/test/
H A Dnctxrx.sh273 if_verbose use_ssh cksum ${REMOTE_DIR}/${of} \
/tldk/examples/l4fwd/
H A Dpkt.c400 uint16_t cksum; local
402 cksum = rte_raw_cksum(iph, len);
403 return (cksum == 0xffff) ? cksum : ~cksum;
426 /* recalculate ipv4 cksum after reassemble. */

Completed in 11 milliseconds