MCPcopy Create free account
hub / github.com/F-Stack/f-stack / tcp_lro_rx_ipv6

Function tcp_lro_rx_ipv6

freebsd/netinet/tcp_lro.c:380–395  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

378
379#ifdef INET6
380static int
381tcp_lro_rx_ipv6(struct lro_ctrl *lc, struct mbuf *m, struct ip6_hdr *ip6,
382 struct tcphdr **th)
383{
384
385 /* XXX-BZ we should check the flow-label. */
386
387 /* XXX-BZ We do not yet support ext. hdrs. */
388 if (ip6->ip6_nxt != IPPROTO_TCP)
389 return (TCP_LRO_NOT_SUPPORTED);
390
391 /* Find the TCP header. */
392 *th = (struct tcphdr *)(ip6 + 1);
393
394 return (0);
395}
396#endif
397
398#ifdef INET

Callers 2

tcp_set_le_to_mFunction · 0.85
tcp_lro_rx2Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected