/freebsd/sys/dev/neta/ |
H A D | if_mvnetavar.h | 85 #define MVNETA_LPI_TS (ETHERMTU * 8 / 1000) /* [us] */ 86 #define MVNETA_LPI_TW (ETHERMTU * 8 / 1000) /* [us] */ 87 #define MVNETA_LPI_LI (ETHERMTU * 8 / 1000) /* [us] */
|
/freebsd/sys/net/ |
H A D | ethernet.h | 390 #define ETHERMTU (ETHER_MAX_LEN-ETHER_HDR_LEN-ETHER_CRC_LEN) 391 #define ETHERMTU global() macro
|
H A D | if_ethersubr.c | 988 ifp->if_mtu = ETHERMTU; 1181 if (ifr->ifr_mtu > ETHERMTU) { in ether_ioctl()
|
H A D | if_vlan.c | 1919 ifp->if_mtu = ETHERMTU; in vlan_unconfig_locked()
|
/freebsd/sys/dev/e1000/ |
H A D | if_em.c | 1259 ETHERMTU + ETHER_HDR_LEN + ETHERNET_FCS_SIZE; in em_if_attach_pre() 3152 if ((hw->mac.type == e1000_82575) && (if_getmtu(ifp) > ETHERMTU)) { in em_reset() 3220 if (if_getmtu(ifp) > ETHERMTU) { in em_reset() 3242 if (if_getmtu(ifp) > ETHERMTU) in em_reset() 3264 if (if_getmtu(ifp) > ETHERMTU) { in em_reset() 3803 if (if_getmtu(ifp) > ETHERMTU) in em_initialize_receive_unit() 3910 hw->mac.type == e1000_ich10lan) && if_getmtu(ifp) > ETHERMTU) { in em_initialize_receive_unit() 3925 if (if_getmtu(ifp) > ETHERMTU) { in em_initialize_receive_unit() 3985 if (if_getmtu(ifp) > ETHERMTU) in em_initialize_receive_unit()
|
/freebsd/sys/dev/le/ |
H A D | am79900.c | 570 if (len > ETHERMTU + ETHER_HDR_LEN) in am79900_start_locked()
|
H A D | am7990.c | 534 if (len > ETHERMTU + ETHER_HDR_LEN) in am7990_start_locked()
|
/freebsd/sys/dev/hyperv/netvsc/ |
H A D | if_hn.c | 160 #define HN_LRO_LENLIM_MULTIRX_DEF (12 * ETHERMTU) 161 #define HN_LRO_LENLIM_DEF (25 * ETHERMTU) 1693 if (if_getmtu(ifp) != ETHERMTU) { in hn_xpnt_vf_setready() 1706 if (if_getmtu(ifp) > ETHERMTU) { in hn_xpnt_vf_setready() 1707 if_printf(ifp, "change MTU to %d\n", ETHERMTU); in hn_xpnt_vf_setready() 1715 if_setmtu(ifp, ETHERMTU); in hn_xpnt_vf_setready() 2242 error = hn_synth_attach(sc, ETHERMTU); in hn_attach() 2252 mtu = ETHERMTU; in hn_attach() 2431 hn_set_tso_maxsize(sc, hn_tso_maxlen, ETHERMTU); in hn_attach() 2443 if (mtu < ETHERMTU) { in hn_attach()
|
/freebsd/sys/powerpc/pseries/ |
H A D | phyp_llan.c | 227 if_setmtu(sc->ifp, ETHERMTU); /* XXX max-frame-size from OF? */ in llan_attach()
|
/freebsd/usr.sbin/bhyve/ |
H A D | pci_virtio_net.c | 563 unsigned long mtu = ETHERMTU; in pci_vtnet_init()
|
/freebsd/sys/dev/msk/ |
H A D | if_msk.c | 1070 if (ifr->ifr_mtu > ETHERMTU) { in msk_ioctl() 1159 if (if_getmtu(ifp) > ETHERMTU && in msk_ioctl() 3735 if (if_getmtu(ifp) > ETHERMTU) { in msk_set_tx_stfwd() 3784 if (if_getmtu(ifp) < ETHERMTU) in msk_init_locked() 3785 sc_if->msk_framesize = ETHERMTU; in msk_init_locked() 3789 if (if_getmtu(ifp) > ETHERMTU && in msk_init_locked() 3834 if (if_getmtu(ifp) > ETHERMTU) in msk_init_locked()
|
/freebsd/sys/dev/ale/ |
H A D | if_ale.c | 1956 ifr->ifr_mtu > ETHERMTU)) in ale_ioctl() 2703 if (if_getmtu(ifp) < ETHERMTU) in ale_init_locked() 2704 sc->ale_max_frame_size = ETHERMTU; in ale_init_locked() 2729 if (if_getmtu(ifp) < ETHERMTU) in ale_init_locked()
|
/freebsd/contrib/libpcap/ |
H A D | gencode.c | 131 #define ETHERMTU 1500 macro 1984 b0 = gen_cmp_gt(cstate, OR_LINKTYPE, 0, BPF_H, ETHERMTU); in gen_ether_linktype() 2038 b0 = gen_cmp_gt(cstate, OR_LINKTYPE, 0, BPF_H, ETHERMTU); in gen_ether_linktype() 2070 b0 = gen_cmp_gt(cstate, OR_LINKTYPE, 0, BPF_H, ETHERMTU); in gen_ether_linktype() 2101 if (ll_proto <= ETHERMTU) { in gen_ether_linktype() 2110 b0 = gen_cmp_gt(cstate, OR_LINKTYPE, 0, BPF_H, ETHERMTU); in gen_ether_linktype() 2314 if (ll_proto <= ETHERMTU) { in gen_linux_sll_linktype() 3728 b0 = gen_cmp_gt(cstate, OR_LINKTYPE, 0, BPF_H, ETHERMTU); in gen_llc_internal() 3989 if (ll_proto <= ETHERMTU) { in gen_llc_linktype()
|
/freebsd/sys/dev/igc/ |
H A D | if_igc.c | 613 ETHERMTU + ETHER_HDR_LEN + ETHERNET_FCS_SIZE; in igc_if_attach_pre() 2229 if (if_getmtu(ifp) > ETHERMTU) in igc_initialize_receive_unit() 2256 if (if_getmtu(ifp) > ETHERMTU) { in igc_initialize_receive_unit()
|
/freebsd/sys/netpfil/pf/ |
H A D | pflow.c | 405 pflow_setmtu(pflowif, ETHERMTU); in pflow_create() 1691 pflow_setmtu(sc, ETHERMTU); in pflow_set()
|
/freebsd/sys/dev/qlxgbe/ |
H A D | ql_os.c | 859 if_setmtu(ifp, ETHERMTU); in qla_init_ifnet() 1086 if (if_getmtu(ifp) > ETHERMTU) in qla_ioctl()
|
/freebsd/sys/powerpc/ps3/ |
H A D | if_glc.c | 254 if_setmtu(sc->sc_ifp, ETHERMTU); in glc_attach()
|
/freebsd/sys/dev/netmap/ |
H A D | netmap_freebsd.c | 620 if_setmtu(ifp, ETHERMTU); in nm_os_vi_persist()
|
/freebsd/sys/dev/ti/ |
H A D | if_ti.c | 2326 if (if_getmtu(ifp) > ETHERMTU + ETHER_HDR_LEN + ETHER_VLAN_ENCAP_LEN) in ti_gibinit() 2750 if (if_getmtu(ifp) > ETHERMTU + ETHER_HDR_LEN + ETHER_VLAN_ENCAP_LEN) in ti_rxeof() 3271 if (if_getmtu(ifp) > ETHERMTU + ETHER_HDR_LEN + ETHER_VLAN_ENCAP_LEN) { in ti_init2()
|
/freebsd/sys/dev/qlxgb/ |
H A D | qla_os.c | 663 if_setmtu(ifp, ETHERMTU); in qla_init_ifnet()
|
/freebsd/sys/dev/vnic/ |
H A D | nicvf_main.c | 346 if_setmtu(ifp, ETHERMTU); in nicvf_setup_ifnet()
|
/freebsd/sys/dev/enetc/ |
H A D | if_enetc.c | 425 error = enetc_mtu_set(ctx, ETHERMTU); in enetc_attach_pre()
|
/freebsd/sys/dev/age/ |
H A D | if_age.c | 2661 if (if_getmtu(ifp) < ETHERMTU) in age_init_locked() 2662 sc->age_max_frame_size = ETHERMTU; in age_init_locked()
|
/freebsd/sys/dev/xen/netback/ |
H A D | netback.c | 1231 if_setmtu(ifp, ETHERMTU); in create_netdev()
|
/freebsd/sys/dev/rl/ |
H A D | if_rl.c | 799 if_setmtu(ifp, ETHERMTU); in rl_attach()
|