cvs commit: src/sys/dev/netif/an if_an.c src/sys/dev/netif/owi if_owi.c if_wivar.h src/sys/dev/netif/wi if_wi.c if_wivar.h src/sys/net if.c if_arcsubr.c if_ethersubr.c if_fddisubr.c if_iso88025subr.c if_var.h src/sys/net/ef if_ef.c src/sys/net/vlan ...
Joerg Sonnenberger
joerg at crater.dragonflybsd.org
Fri Jun 3 16:23:18 PDT 2005
joerg 2005/06/03 16:23:04 PDT
DragonFly src repository
Modified files:
sys/dev/netif/an if_an.c
sys/dev/netif/owi if_owi.c if_wivar.h
sys/dev/netif/wi if_wi.c if_wivar.h
sys/net if.c if_arcsubr.c if_ethersubr.c
if_fddisubr.c if_iso88025subr.c if_var.h
sys/net/ef if_ef.c
sys/net/vlan if_vlan.c
sys/netgraph/fec ng_fec.c
sys/netinet ip_input.c
sys/netproto/atm atm_if.c
Log:
Add a new macro IF_LLSOCKADDR which maps a ifnet pointer to the
associated link layer sockaddr. Use it to implement IF_LLADDR.
Replace most references of ifnet_addrs with one of those macros.
This makes the sometimes explicitly encoded assumption of each
interface having a link-layer address implicit and is the
preparation for removing ifnet_addrs.
Revision Changes Path
1.22 +1 -5 src/sys/dev/netif/an/if_an.c
1.8 +1 -3 src/sys/dev/netif/owi/if_owi.c
1.3 +0 -1 src/sys/dev/netif/owi/if_wivar.h
1.23 +1 -5 src/sys/dev/netif/wi/if_wi.c
1.6 +0 -1 src/sys/dev/netif/wi/if_wivar.h
1.37 +1 -4 src/sys/net/if.c
1.16 +1 -8 src/sys/net/if_arcsubr.c
1.31 +1 -4 src/sys/net/if_ethersubr.c
1.18 +1 -3 src/sys/net/if_fddisubr.c
1.12 +1 -7 src/sys/net/if_iso88025subr.c
1.28 +3 -2 src/sys/net/if_var.h
1.17 +1 -5 src/sys/net/ef/if_ef.c
1.15 +3 -8 src/sys/net/vlan/if_vlan.c
1.14 +2 -5 src/sys/netgraph/fec/ng_fec.c
1.53 +1 -2 src/sys/netinet/ip_input.c
1.11 +5 -10 src/sys/netproto/atm/atm_if.c
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/an/if_an.c.diff?r1=1.21&r2=1.22&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/owi/if_owi.c.diff?r1=1.7&r2=1.8&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/owi/if_wivar.h.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/wi/if_wi.c.diff?r1=1.22&r2=1.23&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/wi/if_wivar.h.diff?r1=1.5&r2=1.6&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/net/if.c.diff?r1=1.36&r2=1.37&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/net/if_arcsubr.c.diff?r1=1.15&r2=1.16&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/net/if_ethersubr.c.diff?r1=1.30&r2=1.31&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/net/if_fddisubr.c.diff?r1=1.17&r2=1.18&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/net/if_iso88025subr.c.diff?r1=1.11&r2=1.12&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/net/if_var.h.diff?r1=1.27&r2=1.28&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/net/ef/if_ef.c.diff?r1=1.16&r2=1.17&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/net/vlan/if_vlan.c.diff?r1=1.14&r2=1.15&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netgraph/fec/ng_fec.c.diff?r1=1.13&r2=1.14&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netinet/ip_input.c.diff?r1=1.52&r2=1.53&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netproto/atm/atm_if.c.diff?r1=1.10&r2=1.11&f=u
More information about the Commits
mailing list