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

Function tcp_mtudisc_notify

freebsd/netinet/tcp_subr.c:2893–2899  ·  view source on GitHub ↗

* When `need fragmentation' ICMP is received, update our idea of the MSS * based on the new value. Also nudge TCP to send something, since we * know the packet we just sent was dropped. * This duplicates some code in the tcp_mss() function in tcp_input.c. */

Source from the content-addressed store, hash-verified

2891 * This duplicates some code in the tcp_mss() function in tcp_input.c.
2892 */
2893static struct inpcb *
2894tcp_mtudisc_notify(struct inpcb *inp, int error)
2895{
2896
2897 tcp_mtudisc(inp, -1);
2898 return (inp);
2899}
2900
2901static void
2902tcp_mtudisc(struct inpcb *inp, int mtuoffer)

Callers

nothing calls this directly

Calls 1

tcp_mtudiscFunction · 0.85

Tested by

no test coverage detected