Searched refs:if_mtu (Results 1 - 25 of 30) sorted by relevance
12
/darwin-on-arm/xnu/bsd/netinet/ |
H A D | in_gif.c | 206 sc->gif_if.if_mtu = GIF_MTU; 225 ifp->if_mtu = sc->gif_ro.ro_rt->rt_ifp->if_mtu
|
H A D | igmp.c | 2996 (ifp->if_mtu - IGMP_LEADINGSPACE)) { 2997 m0srcs = (ifp->if_mtu - m0->m_pkthdr.len - 3007 m0srcs = (ifp->if_mtu - IGMP_LEADINGSPACE - 3159 m0srcs = (ifp->if_mtu - IGMP_LEADINGSPACE - 3286 (ifp->if_mtu - IGMP_LEADINGSPACE)) { 3288 m0srcs = (ifp->if_mtu - m0->m_pkthdr.len - 3308 m0srcs = (ifp->if_mtu - IGMP_LEADINGSPACE - 3496 (inm->inm_ifp->if_mtu - IGMP_LEADINGSPACE)))
|
H A D | ip_output.c | 989 if ((u_short)ip->ip_len > ifp->if_mtu) { 1640 && (ip->ip_len > 50) && (ip->ip_len <= ifp->if_mtu)) { 1674 if ((u_short)ip->ip_len <= ifp->if_mtu || tso || 1754 && (ro->ro_rt->rt_rmx.rmx_mtu > ifp->if_mtu)) { 1755 ro->ro_rt->rt_rmx.rmx_mtu = ifp->if_mtu; 1766 error = ip_fragment(m, ifp, ifp->if_mtu, sw_csum);
|
H A D | in_rmx.c | 157 rt->rt_rmx.rmx_mtu = rt->rt_ifp->if_mtu;
|
H A D | ip_input.c | 2561 nextmtu = rt->rt_ifp->if_mtu; 2579 nextmtu = rt->rt_ifp->if_mtu; 2635 nextmtu = ro->ro_rt->rt_ifp->if_mtu;
|
/darwin-on-arm/xnu/bsd/netinet6/ |
H A D | in6_gif.c | 215 sc->gif_if.if_mtu = GIF_MTU; 233 ifp->if_mtu = sc->gif_ro6.ro_rt->rt_ifp->if_mtu
|
H A D | nd6.h | 474 * linkmtu = ifp->if_mtu; 475 * else if (ND_IFINFO(ifp)->linkmtu && ND_IFINFO(ifp)->linkmtu < ifp->if_mtu) 477 * else if ((ND_IFINFO(ifp)->maxmtu && ND_IFINFO(ifp)->maxmtu < ifp->if_mtu)) 480 * linkmtu = ifp->if_mtu; 484 (ifp)->if_mtu : ((ND_IFINFO(ifp)->linkmtu && \ 485 ND_IFINFO(ifp)->linkmtu < (ifp)->if_mtu) ? ND_IFINFO(ifp)->linkmtu : \ 486 ((ND_IFINFO(ifp)->maxmtu && ND_IFINFO(ifp)->maxmtu < (ifp)->if_mtu) ? \ 487 ND_IFINFO(ifp)->maxmtu : (ifp)->if_mtu)))
|
H A D | ip6_forward.c | 516 if (m->m_pkthdr.len > rt->rt_ifp->if_mtu) { 526 mtu = rt->rt_ifp->if_mtu;
|
H A D | mld6.c | 2609 (ifp->if_mtu - MLD_MTUSPACE)) { 2610 m0srcs = (ifp->if_mtu - m0->m_pkthdr.len - 2621 m0srcs = (ifp->if_mtu - MLD_MTUSPACE - 2766 m0srcs = (ifp->if_mtu - MLD_MTUSPACE - 2891 (ifp->if_mtu - MLD_MTUSPACE)) { 2893 m0srcs = (ifp->if_mtu - m0->m_pkthdr.len - 2908 m0srcs = (ifp->if_mtu - MLD_MTUSPACE - 3097 (inm->in6m_ifp->if_mtu - MLD_MTUSPACE)))
|
H A D | ip6_mroute.c | 1547 if (mb_copy->m_pkthdr.len <= ifp->if_mtu || ifp->if_mtu < IPV6_MMTU) { 1581 icmp6_error(mb_copy, ICMP6_PACKET_TOO_BIG, 0, ifp->if_mtu);
|
H A D | in6_rmx.c | 211 rt->rt_rmx.rmx_mtu = rt->rt_ifp->if_mtu;
|
H A D | in6_ifattach.c | 914 if (in6_maxmtu < ifp->if_mtu) 915 in6_maxmtu = ifp->if_mtu;
|
H A D | nd6.c | 414 ND.linkmtu = ifp->if_mtu; 458 * take the if_mtu value since SIOCSIFMTU would have taken care of 463 * does further checking against if_mtu. 465 maxmtu = ndi->maxmtu = ifp->if_mtu; 478 ndi->linkmtu = ifp->if_mtu;
|
/darwin-on-arm/xnu/bsd/net/ |
H A D | if_loop.c | 484 rt->rt_rmx.rmx_mtu = rt->rt_ifp->if_mtu; /* for ISO */ 546 bcopy(&ifr->ifr_mtu, &ifp->if_mtu, sizeof (int));
|
H A D | if_bridge.c | 1907 sc->sc_ifp->if_mtu = ifs->if_mtu; 1908 else if (sc->sc_ifp->if_mtu != ifs->if_mtu) { 4902 if (i > ifp->if_mtu) { 5162 error = ip_fragment(ip, &m, ifp->if_mtu, ifp->if_hwassist,
|
H A D | kpi_interface.c | 734 if (interface == NULL || mtuLen < interface->if_mtu) 913 interface->if_mtu = mtu; 920 return ((interface == NULL) ? 0 : interface->if_mtu);
|
H A D | if.c | 1951 ifr->ifr_mtu = ifp->if_mtu; 2085 u_int32_t oldmtu = ifp->if_mtu; 2126 if (ifp->if_mtu != oldmtu) { 3308 rt->rt_rmx.rmx_mtu = ifp->if_mtu;
|
H A D | if_var.h | 396 #define if_mtu if_data.ifi_mtu macro
|
H A D | pf.c | 3874 mss = rt->rt_ifp->if_mtu - hlen - sizeof (struct tcphdr); 7725 (ntohs(ip->ip_len) <= ifp->if_mtu)) { 7761 if (ntohs(ip->ip_len) <= ifp->if_mtu || 7778 ifp->if_mtu); 7791 error = ip_fragment(m0, ifp, ifp->if_mtu, sw_csum); 7924 if ((unsigned)m0->m_pkthdr.len <= ifp->if_mtu) { 7929 icmp6_error(m0, ICMP6_PACKET_TOO_BIG, 0, ifp->if_mtu);
|
H A D | bpf.c | 1119 if ((unsigned)datlen > ifp->if_mtu) {
|
/darwin-on-arm/xnu/bsd/net/classq/ |
H A D | classq_subr.c | 735 u_int32_t mtu = ifp->if_mtu;
|
/darwin-on-arm/xnu/bsd/net/pktsched/ |
H A D | pktsched_fairq.c | 506 pkttime = (int64_t)ifp->if_mtu * 1000 * 1000 * 1000 /
|
H A D | pktsched_priq.c | 440 pkttime = (int64_t)ifp->if_mtu * 1000 * 1000 * 1000 /
|
H A D | pktsched_rmclass.c | 747 mtu = ifp->if_mtu;
|
H A D | pktsched_tcq.c | 412 pkttime = (int64_t)ifp->if_mtu * 1000 * 1000 * 1000 /
|
Completed in 228 milliseconds
12