Searched refs:l3h (Results 1 - 3 of 3) sorted by relevance

/tldk/lib/libtle_l4p/
H A Dstream.h154 struct ipv4_hdr *l3h; local
155 l3h = (struct ipv4_hdr *)(dst->hdr + dst->l2_len);
156 l3h->src_addr = dev->prm.local_addr4.s_addr;
157 l3h->dst_addr = d4->s_addr;
159 struct ipv6_hdr *l3h; local
160 l3h = (struct ipv6_hdr *)(dst->hdr + dst->l2_len);
161 rte_memcpy(l3h->src_addr, &dev->prm.local_addr6,
162 sizeof(l3h->src_addr));
163 rte_memcpy(l3h->dst_addr, d6, sizeof(l3h
[all...]
H A Dudp_rxtx.c358 struct ipv4_hdr *l3h; local
359 l3h = (struct ipv4_hdr *)(l2h + dst->l2_len);
360 l3h->packet_id = rte_cpu_to_be_16(pid);
361 l3h->total_length = rte_cpu_to_be_16(plen + dst->l3_len +
365 l4h->cksum = _ipv4x_phdr_cksum(l3h, m->l3_len,
368 l4h->cksum = _ipv4_udptcp_mbuf_cksum(m, len, l3h);
371 l3h->hdr_checksum = _ipv4x_cksum(l3h, m->l3_len);
373 struct ipv6_hdr *l3h; local
374 l3h
392 struct ipv4_hdr *l3h; local
[all...]
H A Dtcp_rxtx.c252 struct ipv4_hdr *l3h; local
253 l3h = (struct ipv4_hdr *)(l2h + dst->l2_len);
254 l3h->packet_id = rte_cpu_to_be_16(pid);
255 l3h->total_length = rte_cpu_to_be_16(plen + dst->l3_len + l4);
258 l4h->cksum = _ipv4x_phdr_cksum(l3h, m->l3_len,
261 l4h->cksum = _ipv4_udptcp_mbuf_cksum(m, len, l3h);
264 l3h->hdr_checksum = _ipv4x_cksum(l3h, m->l3_len);
266 struct ipv6_hdr *l3h; local
267 l3h
301 struct ipv4_hdr *l3h; local
315 struct ipv4_hdr *l3h; local
321 struct ipv6_hdr *l3h; local
[all...]

Completed in 4 milliseconds