Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet/tcp_subr.c
| Show First 20 Lines • Show All 3,199 Lines • ▼ Show 20 Lines | |||||
| { | { | ||||
| int mtu = ntohl(icmp6->icmp6_mtu); | int mtu = ntohl(icmp6->icmp6_mtu); | ||||
| /* | /* | ||||
| * If no alternative MTU was proposed, or the proposed MTU was too | * If no alternative MTU was proposed, or the proposed MTU was too | ||||
| * small, set to the min. | * small, set to the min. | ||||
| */ | */ | ||||
| if (mtu < IPV6_MMTU) | if (mtu < IPV6_MMTU) | ||||
| mtu = IPV6_MMTU - 8; /* XXXNP: what is the adjustment for? */ | mtu = IPV6_MMTU; | ||||
| return (mtu); | return (mtu); | ||||
| } | } | ||||
| static void | static void | ||||
| tcp6_ctlinput_with_port(struct ip6ctlparam *ip6cp, uint16_t port) | tcp6_ctlinput_with_port(struct ip6ctlparam *ip6cp, uint16_t port) | ||||
| { | { | ||||
| struct in6_addr *dst; | struct in6_addr *dst; | ||||
| struct inpcb *(*notify)(struct inpcb *, int); | struct inpcb *(*notify)(struct inpcb *, int); | ||||
| ▲ Show 20 Lines • Show All 1,811 Lines • Show Last 20 Lines | |||||