Searched refs:mtu (Results 1 - 13 of 13) sorted by relevance
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/ |
H A D | ip6_forward.c | 402 u_long mtu; local 409 mtu = rt->rt_ifp->if_mtu; 414 * from mtu value). The code is much simpler than v4 423 if (ipsechdrsiz < mtu) 424 mtu -= ipsechdrsiz; 428 * if mtu becomes less than minimum MTU, 431 if (mtu < IPV6_MMTU) 432 mtu = IPV6_MMTU; 436 icmp6_error(mcopy, ICMP6_PACKET_TOO_BIG, 0, mtu);
|
H A D | nd6.h | 341 struct nd_opt_mtu *mtu; member in struct:nd_opts::__anon335 356 #define nd_opts_mtu nd_opt_each.mtu
|
H A D | ip6_output.c | 157 * type of "mtu": rt_rmx.rmx_mtu is u_long, ifnet.ifr_mtu is int, and 179 u_long mtu; local 848 mtu = ro_pmtu->ro_rt->rt_rmx.rmx_mtu; 849 if (mtu > ifmtu || mtu == 0) { 861 mtu = ifmtu; 863 ro_pmtu->ro_rt->rt_rmx.rmx_mtu = mtu; /* XXX */ 866 mtu = IN6_LINKMTU(ifp); 870 * advanced API (IPV6_USE_MIN_MTU) overrides mtu setting 872 if ((flags & IPV6_MINMTU) != 0 && mtu > IPV6_MMT [all...] |
H A D | icmp6.c | 1111 u_int mtu = ntohl(icmp6->icmp6_mtu); local 1119 * In case the suggested mtu is less than IPV6_MMTU, we 1124 if (mtu < IPV6_MMTU) 1125 mtu = IPV6_MMTU - 8; 1142 if (mtu < IPV6_MMTU) { 1145 } else if (mtu < rt->rt_ifp->if_mtu && 1146 rt->rt_rmx.rmx_mtu > mtu) { 1148 rt->rt_rmx.rmx_mtu = mtu; 2006 int mtu = IPV6_MMTU; local 2107 && mtu < icmp6_reflect_r [all...] |
H A D | nd6_rtr.c | 399 u_int32_t mtu = ntohl(ndopts.nd_opts_mtu->nd_opt_mtu_mtu); local 402 if (mtu < IPV6_MMTU) { 403 nd6log((LOG_INFO, "nd6_ra_input: bogus mtu option " 404 "mtu=%d sent from %s, ignoring\n", 405 mtu, ip6_sprintf(&ip6->ip6_src))); 411 if (mtu <= ndi->maxmtu) { 412 int change = (ndi->linkmtu != mtu); 414 ndi->linkmtu = mtu; 418 nd6log((LOG_INFO, "nd6_ra_input: bogus mtu " 419 "mtu [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/ |
H A D | ip_icmp.c | 473 int mtu; local 479 mtu = ntohs(icp->icmp_nextmtu); 480 if (!mtu) 481 mtu = ip_next_mtu(rt->rt_rmx.rmx_mtu, 487 mtu); 489 if (mtu < max(296, (tcp_minmss + sizeof(struct tcpiphdr)))) { 493 } else if (rt->rt_rmx.rmx_mtu > mtu) { 494 rt->rt_rmx.rmx_mtu = mtu; 880 ip_next_mtu(int mtu, int dir) argument 889 if (mtu > [all...] |
H A D | ip_input.c | 257 SYSCTL_INT(_net_inet_ip, IPCTL_DEFMTU, mtu, CTLFLAG_RW,
|
/macosx-10.5.8/xnu-1228.15.4/bsd/net/ |
H A D | if_vlan.c | 373 static int vlan_new_mtu(struct ifnet * ifp, int mtu); 431 siocsifaltmtu(struct ifnet * ifp, int mtu) argument 436 ifr.ifr_mtu = mtu; 834 /* NB: mtu is not set here */ 1367 /* back-out any effect our mtu might have had on the parent */ 1455 vlan_new_mtu(struct ifnet * ifp, int mtu) argument 1469 req_mtu = mtu + ifv->ifv_mtufudge; 1490 ifnet_set_mtu(ifp, mtu); 1496 vlan_set_mtu(struct ifnet * ifp, int mtu) argument 1502 if (mtu < IF_MINMT [all...] |
H A D | if_gif.c | 546 u_long mtu; local 547 mtu = ifr->ifr_mtu; 548 if (mtu < GIF_MTU_MIN || mtu > GIF_MTU_MAX) { 551 ifnet_set_mtu(ifp, mtu);
|
H A D | if_mib.c | 162 DONTCOPY(mtu);
|
H A D | if_bond.c | 672 siocsifmtu(struct ifnet * ifp, int mtu) argument 677 ifr.ifr_mtu = mtu; 2026 printf("if_bond: interface %s doesn't support mtu %d", 2645 bond_set_mtu_on_ports(ifbond_ref ifb, int mtu) argument 2651 error = siocsifmtu(p->po_ifp, mtu); 2662 bond_set_mtu(struct ifnet * ifp, int mtu, int isdevmtu) argument 2686 if (mtu > mtu_max) { 2690 if (mtu < mtu_min && (isdevmtu == 0 || mtu != 0)) { 2691 /* allow SIOCSIFALTMTU to set the mtu t [all...] |
H A D | kpi_interface.h | 1085 @param mtu The new MTU. 1088 errno_t ifnet_set_mtu(ifnet_t interface, u_int32_t mtu);
|
H A D | kpi_interface.c | 420 u_int32_t mtu) 423 interface->if_data.ifi_mtu = mtu; 418 ifnet_set_mtu( ifnet_t interface, u_int32_t mtu) argument
|
Completed in 213 milliseconds