interface renaming
Richard Coleman
richardcoleman at mindspring.com
Fri Oct 31 11:17:25 PST 2003
There was a big commit to FreeBSD-current to do interface renaming to
bring it in line with other *BSD. Below is the commit message. Is this
change of interest for DFBSD? If so, I could start work on it.
Richard Coleman
richardcoleman at xxxxxxxxxxxxxx
Modified files:
. UPDATING
sbin/ip6fw ip6fw.c
sbin/ipfw ipfw2.c
share/man/man9 ifnet.9
sys/alpha/osf1 osf1_ioctl.c
sys/compat/linux linux_ioctl.c
sys/contrib/dev/oltr if_oltr.c
sys/contrib/ipfilter/netinet ip_compat.h ip_fil.c ip_log.c
sys/dev/an if_an.c
sys/dev/ar if_ar.c
sys/dev/ath if_ath.c
sys/dev/awi if_awi_pccard.c
sys/dev/bfe if_bfe.c
sys/dev/bge if_bge.c
sys/dev/cm if_cm_isa.c smc90cx6.c smc90cx6var.h
sys/dev/cnw if_cnw.c
sys/dev/cs if_cs.c if_cs_isa.c if_cs_pccard.c
if_csvar.h
sys/dev/ed if_ed.c if_ed_cbus.c if_ed_isa.c
if_ed_pccard.c if_ed_pci.c if_edvar.h
sys/dev/em if_em.c
sys/dev/en if_en_pci.c midway.c
sys/dev/ep if_ep.c
sys/dev/ex if_ex.c
sys/dev/fatm if_fatm.c
sys/dev/fe if_fe.c if_fevar.h
sys/dev/firewire if_fwe.c
sys/dev/fxp if_fxp.c
sys/dev/gem if_gem.c
sys/dev/gx if_gx.c
sys/dev/harp if_harp.c
sys/dev/hatm if_hatm.c
sys/dev/hme if_hme.c
sys/dev/ie if_ie.c
sys/dev/iicbus if_ic.c
sys/dev/lge if_lge.c
sys/dev/lnc if_lnc.c
sys/dev/mii brgphy.c
sys/dev/my if_my.c
sys/dev/nge if_nge.c
sys/dev/patm if_patm_attach.c
sys/dev/pdq if_fea.c if_fpa.c pdq_freebsd.h pdqvar.h
sys/dev/ppbus if_plip.c
sys/dev/ray if_ray.c
sys/dev/re if_re.c
sys/dev/sbni if_sbni.c if_sbni_isa.c
sys/dev/sbsh if_sbsh.c
sys/dev/sn if_sn.c
sys/dev/sr if_sr.c
sys/dev/tx if_tx.c
sys/dev/txp if_txp.c
sys/dev/usb if_aue.c if_axe.c if_cue.c if_kue.c
if_rue.c
sys/dev/vx if_vx.c if_vx_eisa.c if_vx_pci.c
if_vxvar.h
sys/dev/wi if_wi.c
sys/dev/wl if_wl.c
sys/dev/xe if_xe.c
sys/i386/isa cx.c if_cx.c if_el.c if_le.c if_rdp.c
sys/i4b/driver i4b_ipr.c i4b_isppp.c
sys/net bpf.c bridge.c if.c if.h if_arcsubr.c
if_atmsubr.c if_disc.c if_ef.c
if_ethersubr.c if_faith.c if_gif.c
if_gre.c if_loop.c if_media.c if_mib.c
if_ppp.c if_sl.c if_spppsubr.c if_stf.c
if_tap.c if_tun.c if_var.h if_vlan.c
net_osdep.c net_osdep.h ppp_tty.c
rtsock.c
sys/net80211 ieee80211_node.c ieee80211_proto.c
sys/netatalk ddp_output.c
sys/netatm atm_if.c atm_if.h atm_socket.c
atm_usrreq.c atm_var.h
sys/netatm/ipatm ipatm_usrreq.c
sys/netatm/spans spans_arp.c
sys/netatm/uni uniarp.c
sys/netgraph ng_bridge.c ng_eiface.c ng_ether.c
ng_fec.c ng_gif.c ng_iface.c
sys/netgraph/atm ng_atm.c
sys/netinet if_ether.c ip_divert.c ip_dummynet.c
ip_fw.h ip_fw2.c ip_mroute.c
sys/netinet6 ip6_fw.c ip6_fw.h ip6_mroute.c
sys/netipx ipx_ip.c
sys/netnatm natm.c
sys/nfsclient bootp_subr.c nfs_diskless.c
sys/pci if_dc.c if_de.c if_devar.h if_pcn.c
if_rl.c if_sf.c if_sis.c if_sk.c if_ste.c
if_ti.c if_tl.c if_vr.c if_wb.c if_xl.c
sys/security/mac_biba mac_biba.c
sys/security/mac_lomac mac_lomac.c
sys/sys param.h
usr.bin/netstat if.c route.c
usr.sbin/ifmcstat ifmcstat.c
Log:
Replace the if_name and if_unit members of struct ifnet with new members
if_xname, if_dname, and if_dunit. if_xname is the name of the interface
and if_dname/unit are the driver name and instance.
This change paves the way for interface renaming and enhanced pseudo
device creation and configuration symantics.
Approved By: re (in principle)
Reviewed By: njl, imp
Tested On: i386, amd64, sparc64
Obtained From: NetBSD (if_xname)
More information about the Kernel
mailing list