Searched refs:nh_mtu (Results 1 - 19 of 19) sorted by relevance

/freebsd-13-stable/sys/netinet/
H A Din_rmx.c91 if (nh->nh_mtu == 0) {
92 nh->nh_mtu = nh->nh_ifp->if_mtu;
93 } else if (nh->nh_mtu > nh->nh_ifp->if_mtu)
94 nh->nh_mtu = nh->nh_ifp->if_mtu;
H A Dip_fastfwd.c442 if (ip_len <= nh->nh_mtu) {
460 0, nh->nh_mtu);
467 if (ip_fragment(ip, &m, nh->nh_mtu,
H A Dsctp_os_bsd.h317 #define SCTP_GATHER_MTU_FROM_ROUTE(sctp_ifa, sa, nh) ((uint32_t)((nh != NULL) ? nh->nh_mtu : 0))
H A Dip_output.c509 mtu = ro->ro_nh->nh_mtu;
532 mtu = nh->nh_mtu;
H A Dtcp_output.c1504 mtu = tp->t_inpcb->inp_route6.ro_nh->nh_mtu;
1549 mtu = tp->t_inpcb->inp_route.ro_nh->nh_mtu;
H A Dip_input.c1075 mtu = ro.ro_nh->nh_mtu;
H A Dtcp_subr.c3414 maxmtu = nh->nh_mtu;
3453 maxmtu = nh->nh_mtu;
/freebsd-13-stable/sys/netinet6/
H A Din6_rmx.c114 if (nh->nh_mtu == 0) {
115 nh->nh_mtu = IN6_LINKMTU(nh->nh_ifp);
116 } else if (nh->nh_mtu > IN6_LINKMTU(nh->nh_ifp))
117 nh->nh_mtu = IN6_LINKMTU(nh->nh_ifp);
H A Dip6_fastfwd.c205 if (m->m_pkthdr.len > nh->nh_mtu) {
207 icmp6_error(m, ICMP6_PACKET_TOO_BIG, 0, nh->nh_mtu);
225 if (m->m_pkthdr.len > nh->nh_mtu) {
227 icmp6_error(m, ICMP6_PACKET_TOO_BIG, 0, nh->nh_mtu);
H A Dip6_output.c736 mtu = nh->nh_mtu;
785 mtu = nh->nh_mtu;
1473 error = ip6_calcmtu(nh->nh_ifp, dst, nh->nh_mtu, mtup, NULL, 0);
1527 mtu = nh->nh_mtu;
1536 mtu = ro_pmtu->ro_nh->nh_mtu;
/freebsd-13-stable/sys/net/route/
H A Dnhop.h86 * nh_mtu: ready-to-use nexthop mtu. Already accounts for the link-level header,
127 uint16_t nh_mtu; /* nexthop mtu */ member in struct:nhop_object
197 uint16_t nh_mtu; /* nexthop mtu */ member in struct:nhop_external
H A Dnhop_ctl.c195 nh->nh_mtu = info->rti_rmx->rmx_mtu;
476 nh->nh_mtu = nh_orig->nh_mtu;
601 if_name(nh->nh_aifp), nh->nh_mtu, nh->nh_flags);
787 nh->nh_mtu > mtu) {
789 nh->nh_mtu = mtu;
838 pnhe->nh_mtu = nh->nh_mtu;
/freebsd-13-stable/sys/netpfil/ipfw/nat64/
H A Dnat64_translate.c1282 if (nh->nh_mtu < plen + sizeof(ip6) &&
1285 FRAGSZ(nh->nh_mtu) + sizeof(struct ip), &cfg->stats, logdata);
1335 nat64_fragment6(&cfg->stats, &ip6, &mq, m, nh->nh_mtu, ip_id, ip_off);
1672 if (nh->nh_mtu < plen + sizeof(ip)) {
1673 nat64_icmp6_reflect(m, ICMP6_PACKET_TOO_BIG, 0, nh->nh_mtu,
/freebsd-13-stable/usr.bin/netstat/
H A Dnhops.c294 xo_emit("{t:mtu/%*lu} ", wid_mtu, nh->nh_mtu);
/freebsd-13-stable/sys/net/
H A Droute.c394 rmx->rmx_mtu = nh->nh_mtu;
H A Drtsock.c1280 out->rmx_mtu = nh->nh_mtu;
/freebsd-13-stable/sys/netpfil/pf/
H A Dpf.c3280 mss = nh->nh_mtu - hlen - sizeof(struct tcphdr);
3289 mss = nh->nh_mtu - hlen - sizeof(struct tcphdr);
/freebsd-13-stable/sys/netinet/tcp_stacks/
H A Dbbr.c13698 mtu = inp->inp_route6.ro_nh->nh_mtu;
13739 mtu = inp->inp_route.ro_nh->nh_mtu;
H A Drack.c18056 mtu = inp->inp_route6.ro_nh->nh_mtu;
18104 mtu = inp->inp_route.ro_nh->nh_mtu;

Completed in 149 milliseconds