sys/compat/linsysfs/linsysfs_net.c
162
error = sbuf_printf(sb, "%u\n", if_getmtu(ifp));
sys/dev/ae/if_ae.c
2077
else if (if_getmtu(ifp) != ifr->ifr_mtu) {
sys/dev/ae/if_ae.c
640
val = if_getmtu(ifp) + ETHER_HDR_LEN + ETHER_VLAN_ENCAP_LEN +
sys/dev/age/if_age.c
1805
else if (if_getmtu(ifp) != ifr->ifr_mtu) {
sys/dev/age/if_age.c
2656
if (if_getmtu(ifp) < ETHERMTU)
sys/dev/age/if_age.c
2659
sc->age_max_frame_size = if_getmtu(ifp);
sys/dev/al_eth/al_eth.c
3082
al_eth_change_mtu(adapter, if_getmtu(adapter->netdev));
sys/dev/al_eth/al_eth.c
3286
if_getmtu(adapter->netdev));
sys/dev/al_eth/al_eth.c
389
al_eth_req_rx_buff_size(adapter, if_getmtu(adapter->netdev));
sys/dev/alc/if_alc.c
3036
else if (if_getmtu(ifp) != ifr->ifr_mtu) {
sys/dev/alc/if_alc.c
3040
if (if_getmtu(ifp) > ALC_TSO_MTU &&
sys/dev/alc/if_alc.c
3091
if (if_getmtu(ifp) > ALC_TSO_MTU) {
sys/dev/ale/if_ale.c
1940
else if (if_getmtu(ifp) != ifr->ifr_mtu) {
sys/dev/ale/if_ale.c
2685
if (if_getmtu(ifp) < ETHERMTU)
sys/dev/ale/if_ale.c
2688
sc->ale_max_frame_size = if_getmtu(ifp);
sys/dev/ale/if_ale.c
2711
if (if_getmtu(ifp) < ETHERMTU)
sys/dev/ale/if_ale.c
2713
else if (if_getmtu(ifp) < 6 * 1024)
sys/dev/ath/if_ath_tdma.c
291
if_getmtu(vap->iv_ifp) + IEEE80211_MAXOVERHEAD, rix, AH_TRUE,
sys/dev/axgbe/if_axgbe_pci.c
1489
ret = xgbe_calc_rx_buf_size(pdata->netdev, if_getmtu(pdata->netdev));
sys/dev/axgbe/if_axgbe_pci.c
1500
DBGPR("mtu %d\n", if_getmtu(ifp));
sys/dev/axgbe/if_axgbe_pci.c
1501
scctx->isc_max_frame_size = if_getmtu(ifp) + 18;
sys/dev/axgbe/xgbe-dev.c
122
return (if_getmtu(pdata->netdev) + ETH_HLEN + ETH_FCS_LEN + VLAN_HLEN);
sys/dev/axgbe/xgbe-dev.c
2051
val = (if_getmtu(pdata->netdev) > XGMAC_STD_PACKET_MTU) ? 1 : 0;
sys/dev/axgbe/xgbe-txrx.c
140
max_len = if_getmtu(pdata->netdev) + ETH_HLEN;
sys/dev/bce/if_bce.c
6965
bce_get_rx_buffer_sizes(sc, if_getmtu(ifp));
sys/dev/bce/if_bce.c
6972
ether_mtu = if_getmtu(ifp);
sys/dev/bce/if_bce.c
6975
if (if_getmtu(ifp) <= sc->rx_bd_mbuf_data_len + MCLBYTES)
sys/dev/bce/if_bce.c
6979
ether_mtu = if_getmtu(ifp);
sys/dev/bce/if_bce.c
6981
if (if_getmtu(ifp) <= sc->rx_bd_mbuf_data_len)
sys/dev/bce/if_bce.c
6984
ether_mtu = if_getmtu(ifp);
sys/dev/bce/if_bce.c
7542
(int) if_getmtu(ifp), (int) ifr->ifr_mtu);
sys/dev/bge/if_bge.c
1281
(if_getmtu(sc->bge_ifp) + ETHER_HDR_LEN + ETHER_CRC_LEN +
sys/dev/bge/if_bge.c
1955
if (if_getmtu(sc->bge_ifp) > ETHERMTU) {
sys/dev/bge/if_bge.c
4317
if_getmtu(ifp) + ETHER_HDR_LEN + ETHER_CRC_LEN +
sys/dev/bge/if_bge.c
5446
CSR_WRITE_4(sc, BGE_RX_MTU, if_getmtu(ifp) +
sys/dev/bge/if_bge.c
5502
if_getmtu(ifp) + ETHER_HDR_LEN + ETHER_CRC_LEN +
sys/dev/bge/if_bge.c
5759
if (if_getmtu(ifp) != ifr->ifr_mtu) {
sys/dev/bge/if_bge.c
6792
(if_getmtu(sc->bge_ifp) + ETHER_HDR_LEN + ETHER_CRC_LEN +
sys/dev/bnxt/bnxt_en/bnxt_mgmt.c
359
dev_info.nic_info.mtu = if_getmtu(ifp);
sys/dev/bnxt/bnxt_en/if_bnxt.c
2734
softc->scctx->isc_max_frame_size = if_getmtu(ifp) + ETHER_HDR_LEN +
sys/dev/bnxt/bnxt_re/ib_verbs.c
2200
qplqp->mtu = ib_mtu_enum_to_int(iboe_get_mtu(if_getmtu(rdev->netdev)));
sys/dev/bnxt/bnxt_re/ib_verbs.c
2773
bnxt_re_init_qpmtu(qp, if_getmtu(rdev->netdev), qp_attr_mask, qp_attr,
sys/dev/bnxt/bnxt_re/ib_verbs.c
355
port_attr->active_mtu = iboe_get_mtu(if_getmtu(rdev->netdev));
sys/dev/cxgb/cxgb_main.c
1255
mtu = if_getmtu(ifp);
sys/dev/cxgbe/crypto/t6_kern_tls.c
1763
mss = if_getmtu(tlsp->vi->ifp) -
sys/dev/cxgbe/crypto/t7_kern_tls.c
2057
mss = if_getmtu(tlsp->vi->ifp) -
sys/dev/cxgbe/iw_cxgbe/provider.c
354
if (if_getmtu(ifp) >= 4096)
sys/dev/cxgbe/iw_cxgbe/provider.c
356
else if (if_getmtu(ifp) >= 2048)
sys/dev/cxgbe/iw_cxgbe/provider.c
358
else if (if_getmtu(ifp) >= 1024)
sys/dev/cxgbe/iw_cxgbe/provider.c
360
else if (if_getmtu(ifp) >= 512)
sys/dev/cxgbe/t4_main.c
6541
mtu = if_getmtu(ifp);
sys/dev/cxgbe/t4_sched.c
178
if (!in_range(p->pktsize, 64, if_getmtu(pi->vi[0].ifp)))
sys/dev/cxgbe/t4_sched.c
509
pktsize = if_getmtu(pi->vi[0].ifp);
sys/dev/cxgbe/t4_sge.c
1142
ETHER_VLAN_ENCAP_LEN + if_getmtu(ifp);
sys/dev/e1000/if_em.c
3141
if ((hw->mac.type == e1000_82575) && (if_getmtu(ifp) > ETHERMTU)) {
sys/dev/e1000/if_em.c
3209
if (if_getmtu(ifp) > ETHERMTU) {
sys/dev/e1000/if_em.c
3231
if (if_getmtu(ifp) > ETHERMTU)
sys/dev/e1000/if_em.c
3253
if (if_getmtu(ifp) > ETHERMTU) {
sys/dev/e1000/if_em.c
3790
if (if_getmtu(ifp) > ETHERMTU)
sys/dev/e1000/if_em.c
3902
hw->mac.type == e1000_ich10lan) && if_getmtu(ifp) > ETHERMTU) {
sys/dev/e1000/if_em.c
3917
if (if_getmtu(ifp) > ETHERMTU) {
sys/dev/e1000/if_em.c
3977
if (if_getmtu(ifp) > ETHERMTU)
sys/dev/ena/ena.c
2130
rc = ena_change_mtu(adapter->ifp, if_getmtu(adapter->ifp));
sys/dev/ena/ena.c
2400
if (if_getmtu(ifp) == ifr->ifr_mtu)
sys/dev/ena/ena.c
3612
if (get_feat_ctx->dev_attr.max_mtu < if_getmtu(adapter->ifp)) {
sys/dev/et/if_et.c
1333
if (if_getmtu(ifp) != ifr->ifr_mtu) {
sys/dev/et/if_et.c
1615
frame_len = ET_FRAMELEN(if_getmtu(ifp));
sys/dev/et/if_et.c
1879
CSR_WRITE_4(sc, ET_MAX_FRMLEN, ET_FRAMELEN(if_getmtu(ifp)));
sys/dev/et/if_et.c
1922
if (ET_FRAMELEN(if_getmtu(ifp)) > ET_RXMAC_CUT_THRU_FRMLEN) {
sys/dev/gve/gve_main.c
471
if (if_getmtu(ifp) == ifr->ifr_mtu)
sys/dev/hyperv/netvsc/if_hn.c
1371
hn_set_tso_maxsize(sc, hn_tso_maxlen, if_getmtu(ifp));
sys/dev/hyperv/netvsc/if_hn.c
161
#define HN_LRO_LENLIM_MIN(ifp) (2 * if_getmtu(ifp))
sys/dev/hyperv/netvsc/if_hn.c
1680
if (if_getmtu(ifp) != ETHERMTU) {
sys/dev/hyperv/netvsc/if_hn.c
1688
ifr.ifr_mtu = if_getmtu(ifp);
sys/dev/hyperv/netvsc/if_hn.c
1692
if_name(vf_ifp), if_getmtu(ifp));
sys/dev/hyperv/netvsc/if_hn.c
1693
if (if_getmtu(ifp) > ETHERMTU) {
sys/dev/hyperv/netvsc/if_hn.c
3743
if (if_getmtu(ifp) == ifr->ifr_mtu) {
sys/dev/hyperv/netvsc/if_hn.c
4526
mtu = if_getmtu(sc->hn_ifp);
sys/dev/iavf/if_iavf_iflib.c
1565
if_getmtu(ifp) + ETHER_HDR_LEN + ETHER_CRC_LEN
sys/dev/ice/ice_rdma.c
764
peer->mtu = if_getmtu(sc->ifp);
sys/dev/ice/if_ice_iflib.c
800
sc->scctx->isc_max_frame_size = if_getmtu(ifp) +
sys/dev/igc/if_igc.c
2229
if (if_getmtu(ifp) > ETHERMTU)
sys/dev/igc/if_igc.c
2256
if (if_getmtu(ifp) > ETHERMTU) {
sys/dev/iicbus/if_ic.c
243
ifr->ifr_mtu = if_getmtu(sc->ic_ifp);
sys/dev/iicbus/if_ic.c
322
if (sc->ic_xfercnt >= if_getmtu(sc->ic_ifp) + ICHDRLEN) {
sys/dev/iicbus/if_ic.c
386
if (len + mm->m_len > if_getmtu(sc->ic_ifp)) {
sys/dev/irdma/irdma_kcompat.c
1625
props->active_mtu = min(props->max_mtu, iboe_get_mtu(if_getmtu(netdev)));
sys/dev/ixgbe/if_ix.c
1334
sc->max_frame_size = if_getmtu(ifp) + ETHER_HDR_LEN + ETHER_CRC_LEN;
sys/dev/ixgbe/if_ix.c
3846
if (if_getmtu(ifp) > ETHERMTU) {
sys/dev/ixgbe/if_ix.c
769
if (if_getmtu(ifp) > ETHERMTU)
sys/dev/ixgbe/if_ixv.c
1186
sc->max_frame_size = if_getmtu(ifp) + IXGBE_MTU_HDR;
sys/dev/ixgbe/if_ixv.c
588
sc->max_frame_size = if_getmtu(ifp) + IXGBE_MTU_HDR;
sys/dev/ixl/ixl_iw.c
167
pf_info->mtu = if_getmtu(pf->vsi.ifp);
sys/dev/ixl/ixl_pf_iflib.c
361
if_getmtu(ifp) + ETHER_HDR_LEN + ETHER_CRC_LEN
sys/dev/jme/if_jme.c
1956
if (if_getmtu(ifp) != ifr->ifr_mtu) {
sys/dev/jme/if_jme.c
2013
if_getmtu(ifp) < JME_TX_FIFO_SIZE) {
sys/dev/jme/if_jme.c
2032
if_getmtu(ifp) < JME_TX_FIFO_SIZE) {
sys/dev/jme/if_jme.c
2819
if ((if_getmtu(ifp) + ETHER_HDR_LEN + ETHER_VLAN_ENCAP_LEN +
sys/dev/liquidio/lio_ioctl.c
406
lio_dev_info(oct, "MTU Changed from %d to %d\n", if_getmtu(ifp),
sys/dev/mana/mana_en.c
182
if (if_getmtu(ifp) == new_mtu)
sys/dev/mii/brgphy.c
1012
brgphy_jumbo_settings(sc, if_getmtu(ifp));
sys/dev/mii/brgphy.c
1121
brgphy_jumbo_settings(sc, if_getmtu(ifp));
sys/dev/mii/brgphy.c
1125
brgphy_jumbo_settings(sc, if_getmtu(ifp));
sys/dev/mii/truephy.c
263
if (TRUEPHY_FRAMELEN((if_getmtu(sc->mii_pdata->mii_ifp)) > 2048)) {
sys/dev/mlx4/mlx4_en/mlx4_en_netdev.c
1088
(unsigned)if_getmtu(priv->dev), priv->rx_frames, priv->rx_usecs);
sys/dev/mlx4/mlx4_en/mlx4_en_netdev.c
1287
if_setmtu(dev, min(if_getmtu(dev), priv->max_mtu));
sys/dev/mlx4/mlx4_en/mlx4_en_netdev.c
1824
(unsigned)if_getmtu(dev), (unsigned)new_mtu);
sys/dev/mlx4/mlx4_en/mlx4_en_netdev.c
2314
priv->rx_mb_size = if_getmtu(dev) + ETH_HLEN + VLAN_HLEN + ETH_FCS_LEN;
sys/dev/mlx4/mlx4_en/mlx4_en_rx.c
344
int eff_mtu = if_getmtu(dev) + ETH_HLEN + VLAN_HLEN + ETH_FCS_LEN +
sys/dev/mlx4/mlx4_en/mlx4_en_rx.c
348
en_err(priv, "MTU(%u) is too big\n", (unsigned)if_getmtu(dev));
sys/dev/mlx4/mlx4_ib/mlx4_ib_main.c
734
tmp = iboe_get_mtu(if_getmtu(ndev));
sys/dev/mlx5/mlx5_en/mlx5_en_main.c
2324
MLX5E_SW2MB_MTU(if_getmtu(priv->ifp));
sys/dev/mlx5/mlx5_en/mlx5_en_main.c
4772
mlx5e_set_dev_port_mtu(ifp, if_getmtu(ifp));
sys/dev/mlx5/mlx5_en/mlx5_en_rl.c
516
MLX5E_SW2HW_MTU(if_getmtu(rlw->priv->ifp));
sys/dev/mlx5/mlx5_ib/mlx5_ib_main.c
341
ndev_ib_mtu = iboe_get_mtu(if_getmtu(ndev));
sys/dev/msk/if_msk.c
1069
else if (if_getmtu(ifp) != ifr->ifr_mtu) {
sys/dev/msk/if_msk.c
1159
if (if_getmtu(ifp) > ETHERMTU &&
sys/dev/msk/if_msk.c
3735
if (if_getmtu(ifp) > ETHERMTU) {
sys/dev/msk/if_msk.c
3784
if (if_getmtu(ifp) < ETHERMTU)
sys/dev/msk/if_msk.c
3787
sc_if->msk_framesize = if_getmtu(ifp);
sys/dev/msk/if_msk.c
3789
if (if_getmtu(ifp) > ETHERMTU &&
sys/dev/msk/if_msk.c
3834
if (if_getmtu(ifp) > ETHERMTU)
sys/dev/mxge/if_mxge.c
3452
ss->rx_big.mlen = if_getmtu(ss->sc->ifp) + ETHER_HDR_LEN +
sys/dev/mxge/if_mxge.c
3512
mxge_choose_params(if_getmtu(sc->ifp), &big_bytes, &cl_size, &nbufs);
sys/dev/mxge/if_mxge.c
3528
cmd.data0 = if_getmtu(sc->ifp) + ETHER_HDR_LEN + ETHER_VLAN_ENCAP_LEN;
sys/dev/mxge/if_mxge.c
3934
old_mtu = if_getmtu(ifp);
sys/dev/neta/if_mvneta.c
1148
reg |= MVNETA_PMACC0_FRAMESIZELIMIT(if_getmtu(ifp) + MVNETA_ETHER_SIZE);
sys/dev/neta/if_mvneta.c
2082
if (if_getmtu(ifp) > sc->tx_csum_limit &&
sys/dev/neta/if_mvneta.c
2136
if (if_getmtu(ifp) + MVNETA_ETHER_SIZE <= MCLBYTES) {
sys/dev/neta/if_mvneta.c
2141
if (if_getmtu(ifp) > sc->tx_csum_limit) {
sys/dev/neta/if_mvneta.c
2217
reg |= MVNETA_PMACC0_FRAMESIZELIMIT(if_getmtu(ifp) + MVNETA_ETHER_SIZE);
sys/dev/netmap/netmap_freebsd.c
213
return if_getmtu(ifp);
sys/dev/nfe/if_nfe.c
1691
else if (if_getmtu(ifp) != ifr->ifr_mtu) {
sys/dev/nfe/if_nfe.c
2698
sc->nfe_framesize = if_getmtu(ifp) + NFE_RX_HEADERS;
sys/dev/nfe/if_nfe.c
601
sc->nfe_framesize = if_getmtu(ifp) + NFE_RX_HEADERS;
sys/dev/ppbus/if_plip.c
377
sc->sc_ifbuf = malloc(if_getmtu(sc->sc_ifp) + MLPIPHDRLEN,
sys/dev/ppbus/if_plip.c
443
ifr->ifr_mtu = if_getmtu(sc->sc_ifp);
sys/dev/ppbus/if_plip.c
544
if (len > if_getmtu(sc->sc_ifp) + MLPIPHDRLEN)
sys/dev/ppbus/if_plip.c
587
len = if_getmtu(sc->sc_ifp) + LPIPHDRLEN;
sys/dev/qlnx/qlnxe/qlnx_os.c
2322
ha->max_frame_size = if_getmtu(ifp) + ETHER_HDR_LEN + ETHER_CRC_LEN;
sys/dev/qlnx/qlnxe/qlnx_os.c
2549
if_getmtu(ifp) + ETHER_HDR_LEN + ETHER_CRC_LEN;
sys/dev/qlnx/qlnxe/qlnx_os.c
2570
ha->max_frame_size = if_getmtu(ifp) +
sys/dev/qlnx/qlnxe/qlnx_os.c
6525
rc = qlnx_start_vport(cdev, vport_id, if_getmtu(ifp), drop_ttl0_flg,
sys/dev/qlnx/qlnxe/qlnx_os.c
6535
vport_id, (int)(if_getmtu(ifp) + 0xe), vlan_removal_en);
sys/dev/qlnx/qlnxe/qlnx_os.c
6673
tpa_params.tpa_min_size_to_start = if_getmtu(ifp) / 2;
sys/dev/qlnx/qlnxe/qlnx_os.c
6674
tpa_params.tpa_min_size_to_cont = if_getmtu(ifp) / 2;
sys/dev/qlnx/qlnxr/qlnxr_cm.c
333
data.input.mtu = if_getmtu(dev->ha->ifp);
sys/dev/qlnx/qlnxr/qlnxr_verbs.c
3450
iboe_get_mtu(if_getmtu(dev->ha->ifp))));
sys/dev/qlnx/qlnxr/qlnxr_verbs.c
3455
iboe_get_mtu(if_getmtu(dev->ha->ifp)));
sys/dev/qlnx/qlnxr/qlnxr_verbs.c
3503
iboe_get_mtu(if_getmtu(dev->ha->ifp)));
sys/dev/qlnx/qlnxr/qlnxr_verbs.c
6128
in_params.mss = if_getmtu(dev->ha->ifp) - 40;
sys/dev/qlnx/qlnxr/qlnxr_verbs.c
629
attr->active_mtu = iboe_get_mtu(if_getmtu(dev->ha->ifp));
sys/dev/qlxgb/qla_os.c
674
ha->max_frame_size = if_getmtu(ifp) + ETHER_HDR_LEN + ETHER_CRC_LEN;
sys/dev/qlxgb/qla_os.c
824
if_getmtu(ifp) + ETHER_HDR_LEN + ETHER_CRC_LEN;
sys/dev/qlxgb/qla_os.c
853
ha->max_frame_size = if_getmtu(ifp) +
sys/dev/qlxgbe/ql_os.c
1076
if_getmtu(ifp) + ETHER_HDR_LEN + ETHER_CRC_LEN;
sys/dev/qlxgbe/ql_os.c
1080
ha->max_frame_size, if_getmtu(ifp), 0);
sys/dev/qlxgbe/ql_os.c
1086
if (if_getmtu(ifp) > ETHERMTU)
sys/dev/qlxgbe/ql_os.c
1112
ha->max_frame_size = if_getmtu(ifp) +
sys/dev/qlxgbe/ql_os.c
872
ha->max_frame_size = if_getmtu(ifp) + ETHER_HDR_LEN + ETHER_CRC_LEN;
sys/dev/qlxge/qls_os.c
733
ha->max_frame_size = if_getmtu(ifp) + ETHER_HDR_LEN + ETHER_CRC_LEN;
sys/dev/qlxge/qls_os.c
896
if_getmtu(ifp) + ETHER_HDR_LEN + ETHER_CRC_LEN;
sys/dev/qlxge/qls_os.c
922
ha->max_frame_size = if_getmtu(ifp) +
sys/dev/re/if_re.c
1928
if (if_getmtu(sc->rl_ifp) > RL_MTU &&
sys/dev/re/if_re.c
2180
if (if_getmtu(ifp) > RL_MTU && (sc->rl_flags & RL_FLAG_JUMBOV2) != 0)
sys/dev/re/if_re.c
3117
if (if_getmtu(ifp) > RL_MTU) {
sys/dev/re/if_re.c
3135
re_set_jumbo(sc, if_getmtu(ifp) > RL_MTU);
sys/dev/re/if_re.c
3144
if (if_getmtu(ifp) > RL_MTU)
sys/dev/re/if_re.c
3184
if (if_getmtu(ifp) > RL_TSO_MTU && (if_getcapenable(ifp) & IFCAP_TSO4) != 0) {
sys/dev/re/if_re.c
3328
if (if_getmtu(ifp) > RL_MTU)
sys/dev/re/if_re.c
3420
if (if_getmtu(ifp) != ifr->ifr_mtu) {
sys/dev/re/if_re.c
3427
if (if_getmtu(ifp) > RL_TSO_MTU &&
sys/dev/re/if_re.c
3514
if (if_getmtu(ifp) > RL_TSO_MTU &&
sys/dev/re/if_re.c
4110
*clsize = (if_getmtu(ifp) > RL_MTU &&
sys/dev/rge/if_rge.c
953
if (if_getmtu(ifp) != ifr->ifr_mtu)
sys/dev/sfxge/sfxge.c
411
if (ifr->ifr_mtu == if_getmtu(ifp)) {
sys/dev/sfxge/sfxge_port.c
507
pdu = EFX_MAC_PDU(if_getmtu(ifp));
sys/dev/sfxge/sfxge_rx.c
1083
sc->rx_buffer_size = EFX_MAC_PDU(if_getmtu(sc->ifnet));
sys/dev/sk/if_sk.c
1052
else if (if_getmtu(ifp) != ifr->ifr_mtu) {
sys/dev/sk/if_sk.c
2995
if (if_getmtu(ifp0) > SK_MAX_FRAMELEN)
sys/dev/sk/if_sk.c
3162
if (if_getmtu(ifp) > SK_MAX_FRAMELEN) {
sys/dev/sk/if_sk.c
3300
if (if_getmtu(ifp) > SK_MAX_FRAMELEN)
sys/dev/sk/if_sk.c
3470
if (if_getmtu(ifp) > SK_MAX_FRAMELEN) {
sys/dev/sk/if_sk.c
3489
if (if_getmtu(ifp) > SK_MAX_FRAMELEN)
sys/dev/stge/if_stge.c
1255
else if (if_getmtu(ifp) != ifr->ifr_mtu) {
sys/dev/stge/if_stge.c
2105
sc->sc_if_framesize = if_getmtu(ifp) + ETHER_HDR_LEN + ETHER_CRC_LEN;
sys/dev/ti/if_ti.c
2326
if (if_getmtu(ifp) > ETHERMTU + ETHER_HDR_LEN + ETHER_VLAN_ENCAP_LEN)
sys/dev/ti/if_ti.c
2750
if (if_getmtu(ifp) > ETHERMTU + ETHER_HDR_LEN + ETHER_VLAN_ENCAP_LEN)
sys/dev/ti/if_ti.c
3234
CSR_WRITE_4(sc, TI_GCR_IFMTU, if_getmtu(ifp) +
sys/dev/ti/if_ti.c
3271
if (if_getmtu(ifp) > ETHERMTU + ETHER_HDR_LEN + ETHER_VLAN_ENCAP_LEN) {
sys/dev/tsec/if_tsec.c
517
tsec_set_mtu(sc, if_getmtu(ifp));
sys/dev/usb/net/if_umb.c
1844
if (if_getmtu(ifp) != val && val <= sc->sc_maxpktlen) {
sys/dev/usb/net/if_umb.c
1846
if (if_getmtu(ifp) > val)
sys/dev/usb/net/if_umb.c
810
if (ifr->ifr_mtu > if_getmtu(ifp)) {
sys/dev/usb/net/if_ure.c
1156
reg = URE_8153_RX_BUFSZ - (URE_FRAMELEN(if_getmtu(ifp)) +
sys/dev/usb/net/if_ure.c
1162
reg = URE_8153_RX_BUFSZ - (URE_FRAMELEN(if_getmtu(ifp)) +
sys/dev/usb/net/if_ure.c
1170
reg = URE_8156_RX_BUFSZ - (URE_FRAMELEN(if_getmtu(ifp)) +
sys/dev/usb/net/if_ure.c
1571
if (if_getmtu(ifp) != ifr->ifr_mtu)
sys/dev/usb/net/if_ure.c
1988
val = if_getmtu(ifp);
sys/dev/vge/if_vge.c
2259
else if (if_getmtu(ifp) != ifr->ifr_mtu) {
sys/dev/virtio/network/if_vtnet.c
1263
if (if_getmtu(ifp) == mtu)
sys/dev/virtio/network/if_vtnet.c
3332
clustersz = vtnet_rx_cluster_size(sc, if_getmtu(ifp));
sys/dev/vmware/vmxnet3/if_vmx.c
1195
ds->mtu = if_getmtu(ifp);
sys/dev/vmware/vmxnet3/if_vmx.c
395
vmxnet3_mtu_set(ctx, if_getmtu(sc->vmx_ifp));
sys/dev/wg/if_wg.c
2343
ret = wg_xmit(ifp, m, af, if_getmtu(ifp));
sys/dev/wg/if_wg.c
2454
mtu = (ro != NULL && ro->ro_mtu > 0) ? ro->ro_mtu : if_getmtu(ifp);
sys/dev/xen/netfront/netfront.c
1849
if (if_getmtu(ifp) == ifr->ifr_mtu)
sys/net/ethernet.h
36
(if_getmtu(ifp) + ETHER_HDR_LEN + \
sys/net/if_var.h
638
int if_getmtu(const if_t ifp);
sys/net/iflib.c
4410
if (ifr->ifr_mtu == if_getmtu(ifp)) {
sys/net80211/ieee80211_mesh.c
3304
if_getmtu(ifp) + IEEE80211_MESH_MAXOVERHEAD, rate, 0) << M_BITS;
sys/netlink/route/iface.c
343
nlattr_add_u32(nw, IFLA_MTU, if_getmtu(ifp));
sys/netpfil/pf/pf_norm.c
1131
if (m->m_pkthdr.len <= if_getmtu(ifp)) {
sys/netpfil/pf/pf_norm.c
1136
if_getmtu(ifp));
sys/ofed/drivers/infiniband/core/ib_cma.c
2822
route->path_rec->mtu = iboe_get_mtu(if_getmtu(ndev));
sys/ofed/drivers/infiniband/core/ib_cma.c
4347
mc->multicast.ib->rec.mtu = iboe_get_mtu(if_getmtu(ndev));
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c
1316
priv->mcast_mtu = priv->admin_mtu = if_getmtu(parent->dev);
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c
221
if (if_getmtu(ifp) == new_mtu)
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c
622
switch (roundup_pow_of_two(if_getmtu(dev) + IPOIB_ENCAP_LEN)) {
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c
989
priv->mcast_mtu = priv->admin_mtu = if_getmtu(priv->dev);