From: | Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx> |
Date: | Mon, 5 Jan 2004 19:17:29 -0800 (PST) |
dillon 2004/01/05 19:17:29 PST DragonFly src repository Modified files: contrib/ipfilter ip_fil.c ip_log.c ipt.c kmem.c sbin/ip6fw ip6fw.c sbin/ipfw ipfw.c ipfw2.c usr.bin/netstat if.c route.c usr.sbin/ifmcstat ifmcstat.c sys/contrib/ipfilter/netinet ip_compat.h ip_fil.c ip_log.c sys/dev/netif/cm if_cm_isa.c smc90cx6.c smc90cx6var.h sys/dev/netif/cs if_cs.c if_cs_isa.c if_cs_pccard.c if_csvar.h sys/dev/netif/cx cx.c sys/dev/netif/de if_devar.h sys/dev/netif/ed if_ed.c sys/dev/netif/fe if_fevar.h sys/dev/netif/fea if_fea.c sys/dev/netif/fpa if_fpa.c sys/dev/netif/fxp if_fxpvar.h sys/dev/netif/ic if_ic.c sys/dev/netif/ie if_ie.c sys/dev/netif/le if_le.c sys/dev/netif/lnc if_lnc.c sys/dev/netif/plip if_plip.c sys/dev/netif/rdp if_rdp.c sys/dev/netif/sbni if_sbni.c sys/dev/netif/ti if_ti.c sys/dev/netif/wl if_wl.c sys/dev/netif/xe if_xe.c sys/emulation/linux linux_ioctl.c sys/i386/i386 autoconf.c sys/net bpf.c if.c if_arcsubr.c if_atmsubr.c if_ethersubr.c if_fddisubr.c if_ieee80211.h if_iso88025subr.c if_loop.c if_media.c if_mib.c if_var.h net_osdep.c rtsock.c sys/net/bridge bridge.c sys/net/disc if_disc.c sys/net/dummynet ip_dummynet.c sys/net/ef if_ef.c sys/net/i4b/driver i4b_bsdi_ibc.c i4b_ipr.c i4b_isppp.c sys/net/ip6fw ip6_fw.c ip6_fw.h sys/net/ip_mroute ip_mroute.c sys/net/ipfw ip_fw.c ip_fw.h ip_fw2.c ip_fw2.h sys/net/ppp if_ppp.c sys/net/ppp_layer ppp_tty.c sys/net/sl if_sl.c sys/net/sppp if_spppsubr.c sys/net/tap if_tap.c sys/netgraph/bridge ng_bridge.c sys/netgraph/eiface ng_eiface.c sys/netgraph/ether ng_ether.c sys/netgraph/fec ng_fec.c sys/netgraph/iface ng_iface.c sys/netinet if_ether.c ip_divert.c sys/netinet6 ip6_mroute.c sys/netproto/atalk ddp_output.c sys/netproto/atm atm_if.c atm_socket.c atm_usrreq.c sys/netproto/atm/ipatm ipatm_usrreq.c sys/netproto/atm/spans spans_arp.c sys/netproto/atm/uni uniarp.c sys/netproto/ipx ipx_ip.c sys/netproto/natm natm.c sys/netproto/ns ns_ip.c Log: if_xname support Part 2/2: Convert remaining netif devices and implement full support for if_xname. Restructure struct ifnet in net/if_var.h, pulling in a few minor additional changes from current including making if_dunit an int, and making if_flags an int. Submitted-by: Max Laier <max@xxxxxxxxxxxxxx> Revision Changes Path 1.2 +5 -5 src/contrib/ipfilter/ip_fil.c 1.2 +1 -1 src/contrib/ipfilter/ip_log.c 1.2 +1 -1 src/contrib/ipfilter/ipt.c 1.2 +1 -1 src/contrib/ipfilter/kmem.c 1.6 +13 -24 src/sbin/ip6fw/ip6fw.c 1.4 +13 -26 src/sbin/ipfw/ipfw.c 1.4 +5 -15 src/sbin/ipfw/ipfw2.c 1.5 +6 -11 src/usr.bin/netstat/if.c 1.5 +2 -7 src/usr.bin/netstat/route.c 1.6 +1 -4 src/usr.sbin/ifmcstat/ifmcstat.c 1.8 +2 -1 src/sys/contrib/ipfilter/netinet/ip_compat.h 1.8 +10 -5 src/sys/contrib/ipfilter/netinet/ip_fil.c 1.5 +2 -1 src/sys/contrib/ipfilter/netinet/ip_log.c 1.5 +1 -1 src/sys/dev/netif/cm/if_cm_isa.c 1.6 +60 -63 src/sys/dev/netif/cm/smc90cx6.c 1.4 +1 -1 src/sys/dev/netif/cm/smc90cx6var.h 1.5 +92 -95 src/sys/dev/netif/cs/if_cs.c 1.4 +1 -2 src/sys/dev/netif/cs/if_cs_isa.c 1.4 +1 -2 src/sys/dev/netif/cs/if_cs_pccard.c 1.3 +2 -2 src/sys/dev/netif/cs/if_csvar.h 1.8 +4 -5 src/sys/dev/netif/cx/cx.c 1.3 +3 -3 src/sys/dev/netif/de/if_devar.h 1.7 +50 -52 src/sys/dev/netif/ed/if_ed.c 1.3 +2 -2 src/sys/dev/netif/fe/if_fevar.h 1.6 +2 -3 src/sys/dev/netif/fea/if_fea.c 1.6 +5 -7 src/sys/dev/netif/fpa/if_fpa.c 1.3 +2 -2 src/sys/dev/netif/fxp/if_fxpvar.h 1.6 +3 -4 src/sys/dev/netif/ic/if_ic.c 1.6 +7 -8 src/sys/dev/netif/ie/if_ie.c 1.7 +21 -22 src/sys/dev/netif/le/if_le.c 1.7 +18 -19 src/sys/dev/netif/lnc/if_lnc.c 1.6 +3 -4 src/sys/dev/netif/plip/if_plip.c 1.7 +24 -27 src/sys/dev/netif/rdp/if_rdp.c 1.10 +21 -23 src/sys/dev/netif/sbni/if_sbni.c 1.7 +2 -3 src/sys/dev/netif/ti/if_ti.c 1.7 +5 -7 src/sys/dev/netif/wl/if_wl.c 1.7 +14 -17 src/sys/dev/netif/xe/if_xe.c 1.12 +4 -7 src/sys/emulation/linux/linux_ioctl.c 1.11 +1 -2 src/sys/i386/i386/autoconf.c 1.9 +4 -5 src/sys/net/bpf.c 1.12 +17 -52 src/sys/net/if.c 1.6 +5 -5 src/sys/net/if_arcsubr.c 1.7 +4 -4 src/sys/net/if_atmsubr.c 1.8 +1 -1 src/sys/net/if_ethersubr.c 1.7 +1 -1 src/sys/net/if_fddisubr.c 1.3 +3 -3 src/sys/net/if_ieee80211.h 1.6 +1 -1 src/sys/net/if_iso88025subr.c 1.9 +1 -2 src/sys/net/if_loop.c 1.5 +2 -2 src/sys/net/if_media.c 1.3 +3 -10 src/sys/net/if_mib.c 1.7 +3 -5 src/sys/net/if_var.h 1.3 +2 -12 src/sys/net/net_osdep.c 1.8 +1 -2 src/sys/net/rtsock.c 1.6 +14 -16 src/sys/net/bridge/bridge.c 1.5 +1 -1 src/sys/net/disc/if_disc.c 1.4 +4 -6 src/sys/net/dummynet/ip_dummynet.c 1.7 +13 -13 src/sys/net/ef/if_ef.c 1.5 +4 -5 src/sys/net/i4b/driver/i4b_bsdi_ibc.c 1.9 +10 -8 src/sys/net/i4b/driver/i4b_ipr.c 1.5 +12 -3 src/sys/net/i4b/driver/i4b_isppp.c 1.6 +9 -6 src/sys/net/ip6fw/ip6_fw.c 1.4 +1 -1 src/sys/net/ip6fw/ip6_fw.h 1.6 +4 -6 src/sys/net/ip_mroute/ip_mroute.c 1.6 +13 -10 src/sys/net/ipfw/ip_fw.c 1.5 +2 -2 src/sys/net/ipfw/ip_fw.h 1.5 +9 -8 src/sys/net/ipfw/ip_fw2.c 1.3 +2 -2 src/sys/net/ipfw/ip_fw2.h 1.11 +21 -22 src/sys/net/ppp/if_ppp.c 1.9 +14 -14 src/sys/net/ppp_layer/ppp_tty.c 1.10 +9 -10 src/sys/net/sl/if_sl.c 1.8 +1 -1 src/sys/net/sppp/if_spppsubr.c 1.9 +37 -37 src/sys/net/tap/if_tap.c 1.6 +1 -2 src/sys/netgraph/bridge/ng_bridge.c 1.4 +7 -8 src/sys/netgraph/eiface/ng_eiface.c 1.4 +2 -3 src/sys/netgraph/ether/ng_ether.c 1.4 +14 -17 src/sys/netgraph/fec/ng_fec.c 1.6 +9 -10 src/sys/netgraph/iface/ng_iface.c 1.9 +7 -7 src/sys/netinet/if_ether.c 1.5 +3 -4 src/sys/netinet/ip_divert.c 1.4 +4 -3 src/sys/netinet6/ip6_mroute.c 1.5 +4 -4 src/sys/netproto/atalk/ddp_output.c 1.6 +6 -6 src/sys/netproto/atm/atm_if.c 1.4 +1 -1 src/sys/netproto/atm/atm_socket.c 1.6 +1 -1 src/sys/netproto/atm/atm_usrreq.c 1.5 +3 -4 src/sys/netproto/atm/ipatm/ipatm_usrreq.c 1.6 +3 -5 src/sys/netproto/atm/spans/spans_arp.c 1.6 +9 -10 src/sys/netproto/atm/uni/uniarp.c 1.8 +4 -4 src/sys/netproto/ipx/ipx_ip.c 1.8 +3 -3 src/sys/netproto/natm/natm.c 1.6 +4 -3 src/sys/netproto/ns/ns_ip.c http://www.dragonflybsd.org/cvsweb/src/contrib/ipfilter/ip_fil.c.diff?r1=1.1&r2=1.2&f=h http://www.dragonflybsd.org/cvsweb/src/contrib/ipfilter/ip_log.c.diff?r1=1.1&r2=1.2&f=h http://www.dragonflybsd.org/cvsweb/src/contrib/ipfilter/ipt.c.diff?r1=1.1&r2=1.2&f=h http://www.dragonflybsd.org/cvsweb/src/contrib/ipfilter/kmem.c.diff?r1=1.1&r2=1.2&f=h http://www.dragonflybsd.org/cvsweb/src/sbin/ip6fw/ip6fw.c.diff?r1=1.5&r2=1.6&f=h http://www.dragonflybsd.org/cvsweb/src/sbin/ipfw/ipfw.c.diff?r1=1.3&r2=1.4&f=h http://www.dragonflybsd.org/cvsweb/src/sbin/ipfw/ipfw2.c.diff?r1=1.3&r2=1.4&f=h http://www.dragonflybsd.org/cvsweb/src/usr.bin/netstat/if.c.diff?r1=1.4&r2=1.5&f=h http://www.dragonflybsd.org/cvsweb/src/usr.bin/netstat/route.c.diff?r1=1.4&r2=1.5&f=h http://www.dragonflybsd.org/cvsweb/src/usr.sbin/ifmcstat/ifmcstat.c.diff?r1=1.5&r2=1.6&f=h http://www.dragonflybsd.org/cvsweb/src/sys/contrib/ipfilter/netinet/ip_compat.h.diff?r1=1.7&r2=1.8&f=h http://www.dragonflybsd.org/cvsweb/src/sys/contrib/ipfilter/netinet/ip_fil.c.diff?r1=1.7&r2=1.8&f=h http://www.dragonflybsd.org/cvsweb/src/sys/contrib/ipfilter/netinet/ip_log.c.diff?r1=1.4&r2=1.5&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/cm/if_cm_isa.c.diff?r1=1.4&r2=1.5&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/cm/smc90cx6.c.diff?r1=1.5&r2=1.6&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/cm/smc90cx6var.h.diff?r1=1.3&r2=1.4&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/cs/if_cs.c.diff?r1=1.4&r2=1.5&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/cs/if_cs_isa.c.diff?r1=1.3&r2=1.4&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/cs/if_cs_pccard.c.diff?r1=1.3&r2=1.4&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/cs/if_csvar.h.diff?r1=1.2&r2=1.3&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/cx/cx.c.diff?r1=1.7&r2=1.8&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/de/if_devar.h.diff?r1=1.2&r2=1.3&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/ed/if_ed.c.diff?r1=1.6&r2=1.7&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/fe/if_fevar.h.diff?r1=1.2&r2=1.3&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/fea/if_fea.c.diff?r1=1.5&r2=1.6&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/fpa/if_fpa.c.diff?r1=1.5&r2=1.6&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/fxp/if_fxpvar.h.diff?r1=1.2&r2=1.3&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/ic/if_ic.c.diff?r1=1.5&r2=1.6&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/ie/if_ie.c.diff?r1=1.5&r2=1.6&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/le/if_le.c.diff?r1=1.6&r2=1.7&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/lnc/if_lnc.c.diff?r1=1.6&r2=1.7&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/plip/if_plip.c.diff?r1=1.5&r2=1.6&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/rdp/if_rdp.c.diff?r1=1.6&r2=1.7&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/sbni/if_sbni.c.diff?r1=1.9&r2=1.10&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/ti/if_ti.c.diff?r1=1.6&r2=1.7&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/wl/if_wl.c.diff?r1=1.6&r2=1.7&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/xe/if_xe.c.diff?r1=1.6&r2=1.7&f=h http://www.dragonflybsd.org/cvsweb/src/sys/emulation/linux/linux_ioctl.c.diff?r1=1.11&r2=1.12&f=h http://www.dragonflybsd.org/cvsweb/src/sys/i386/i386/autoconf.c.diff?r1=1.10&r2=1.11&f=h http://www.dragonflybsd.org/cvsweb/src/sys/net/bpf.c.diff?r1=1.8&r2=1.9&f=h http://www.dragonflybsd.org/cvsweb/src/sys/net/if.c.diff?r1=1.11&r2=1.12&f=h http://www.dragonflybsd.org/cvsweb/src/sys/net/if_arcsubr.c.diff?r1=1.5&r2=1.6&f=h http://www.dragonflybsd.org/cvsweb/src/sys/net/if_atmsubr.c.diff?r1=1.6&r2=1.7&f=h http://www.dragonflybsd.org/cvsweb/src/sys/net/if_ethersubr.c.diff?r1=1.7&r2=1.8&f=h http://www.dragonflybsd.org/cvsweb/src/sys/net/if_fddisubr.c.diff?r1=1.6&r2=1.7&f=h http://www.dragonflybsd.org/cvsweb/src/sys/net/if_ieee80211.h.diff?r1=1.2&r2=1.3&f=h http://www.dragonflybsd.org/cvsweb/src/sys/net/if_iso88025subr.c.diff?r1=1.5&r2=1.6&f=h http://www.dragonflybsd.org/cvsweb/src/sys/net/if_loop.c.diff?r1=1.8&r2=1.9&f=h http://www.dragonflybsd.org/cvsweb/src/sys/net/if_media.c.diff?r1=1.4&r2=1.5&f=h http://www.dragonflybsd.org/cvsweb/src/sys/net/if_mib.c.diff?r1=1.2&r2=1.3&f=h http://www.dragonflybsd.org/cvsweb/src/sys/net/if_var.h.diff?r1=1.6&r2=1.7&f=h http://www.dragonflybsd.org/cvsweb/src/sys/net/net_osdep.c.diff?r1=1.2&r2=1.3&f=h http://www.dragonflybsd.org/cvsweb/src/sys/net/rtsock.c.diff?r1=1.7&r2=1.8&f=h http://www.dragonflybsd.org/cvsweb/src/sys/net/bridge/bridge.c.diff?r1=1.5&r2=1.6&f=h http://www.dragonflybsd.org/cvsweb/src/sys/net/disc/if_disc.c.diff?r1=1.4&r2=1.5&f=h http://www.dragonflybsd.org/cvsweb/src/sys/net/dummynet/ip_dummynet.c.diff?r1=1.3&r2=1.4&f=h http://www.dragonflybsd.org/cvsweb/src/sys/net/ef/if_ef.c.diff?r1=1.6&r2=1.7&f=h http://www.dragonflybsd.org/cvsweb/src/sys/net/i4b/driver/i4b_bsdi_ibc.c.diff?r1=1.4&r2=1.5&f=h http://www.dragonflybsd.org/cvsweb/src/sys/net/i4b/driver/i4b_ipr.c.diff?r1=1.8&r2=1.9&f=h http://www.dragonflybsd.org/cvsweb/src/sys/net/i4b/driver/i4b_isppp.c.diff?r1=1.4&r2=1.5&f=h http://www.dragonflybsd.org/cvsweb/src/sys/net/ip6fw/ip6_fw.c.diff?r1=1.5&r2=1.6&f=h http://www.dragonflybsd.org/cvsweb/src/sys/net/ip6fw/ip6_fw.h.diff?r1=1.3&r2=1.4&f=h http://www.dragonflybsd.org/cvsweb/src/sys/net/ip_mroute/ip_mroute.c.diff?r1=1.5&r2=1.6&f=h http://www.dragonflybsd.org/cvsweb/src/sys/net/ipfw/ip_fw.c.diff?r1=1.5&r2=1.6&f=h http://www.dragonflybsd.org/cvsweb/src/sys/net/ipfw/ip_fw.h.diff?r1=1.4&r2=1.5&f=h http://www.dragonflybsd.org/cvsweb/src/sys/net/ipfw/ip_fw2.c.diff?r1=1.4&r2=1.5&f=h http://www.dragonflybsd.org/cvsweb/src/sys/net/ipfw/ip_fw2.h.diff?r1=1.2&r2=1.3&f=h http://www.dragonflybsd.org/cvsweb/src/sys/net/ppp/if_ppp.c.diff?r1=1.10&r2=1.11&f=h http://www.dragonflybsd.org/cvsweb/src/sys/net/ppp_layer/ppp_tty.c.diff?r1=1.8&r2=1.9&f=h http://www.dragonflybsd.org/cvsweb/src/sys/net/sl/if_sl.c.diff?r1=1.9&r2=1.10&f=h http://www.dragonflybsd.org/cvsweb/src/sys/net/sppp/if_spppsubr.c.diff?r1=1.7&r2=1.8&f=h http://www.dragonflybsd.org/cvsweb/src/sys/net/tap/if_tap.c.diff?r1=1.8&r2=1.9&f=h http://www.dragonflybsd.org/cvsweb/src/sys/netgraph/bridge/ng_bridge.c.diff?r1=1.5&r2=1.6&f=h http://www.dragonflybsd.org/cvsweb/src/sys/netgraph/eiface/ng_eiface.c.diff?r1=1.3&r2=1.4&f=h http://www.dragonflybsd.org/cvsweb/src/sys/netgraph/ether/ng_ether.c.diff?r1=1.3&r2=1.4&f=h http://www.dragonflybsd.org/cvsweb/src/sys/netgraph/fec/ng_fec.c.diff?r1=1.3&r2=1.4&f=h http://www.dragonflybsd.org/cvsweb/src/sys/netgraph/iface/ng_iface.c.diff?r1=1.5&r2=1.6&f=h http://www.dragonflybsd.org/cvsweb/src/sys/netinet/if_ether.c.diff?r1=1.8&r2=1.9&f=h http://www.dragonflybsd.org/cvsweb/src/sys/netinet/ip_divert.c.diff?r1=1.4&r2=1.5&f=h http://www.dragonflybsd.org/cvsweb/src/sys/netinet6/ip6_mroute.c.diff?r1=1.3&r2=1.4&f=h http://www.dragonflybsd.org/cvsweb/src/sys/netproto/atalk/ddp_output.c.diff?r1=1.4&r2=1.5&f=h http://www.dragonflybsd.org/cvsweb/src/sys/netproto/atm/atm_if.c.diff?r1=1.5&r2=1.6&f=h http://www.dragonflybsd.org/cvsweb/src/sys/netproto/atm/atm_socket.c.diff?r1=1.3&r2=1.4&f=h http://www.dragonflybsd.org/cvsweb/src/sys/netproto/atm/atm_usrreq.c.diff?r1=1.5&r2=1.6&f=h http://www.dragonflybsd.org/cvsweb/src/sys/netproto/atm/ipatm/ipatm_usrreq.c.diff?r1=1.4&r2=1.5&f=h http://www.dragonflybsd.org/cvsweb/src/sys/netproto/atm/spans/spans_arp.c.diff?r1=1.5&r2=1.6&f=h http://www.dragonflybsd.org/cvsweb/src/sys/netproto/atm/uni/uniarp.c.diff?r1=1.5&r2=1.6&f=h http://www.dragonflybsd.org/cvsweb/src/sys/netproto/ipx/ipx_ip.c.diff?r1=1.7&r2=1.8&f=h http://www.dragonflybsd.org/cvsweb/src/sys/netproto/natm/natm.c.diff?r1=1.7&r2=1.8&f=h http://www.dragonflybsd.org/cvsweb/src/sys/netproto/ns/ns_ip.c.diff?r1=1.5&r2=1.6&f=h