| 378 | |
| 379 | #ifdef INET6 |
| 380 | static int |
| 381 | tcp_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 |
no outgoing calls
no test coverage detected