cvs commit: src/sys/dev/netif/ic if_ic.c src/sys/dev/netif/plip if_plip.c src/sys/dev/netif/wi if_wi.c src/sys/net bpf.c bpf.h bpfdesc.h if_ethersubr.c if_loop.c src/sys/net/disc if_disc.c src/sys/net/ef if_ef.c src/sys/net/faith if_faith.c ...
Joerg Sonnenberger
joerg at crater.dragonflybsd.org
Tue Jan 25 16:38:10 PST 2005
joerg 2005/01/25 16:37:40 PST
DragonFly src repository
Modified files:
sys/dev/netif/ic if_ic.c
sys/dev/netif/plip if_plip.c
sys/dev/netif/wi if_wi.c
sys/net bpf.c bpf.h bpfdesc.h if_ethersubr.c
if_loop.c
sys/net/disc if_disc.c
sys/net/ef if_ef.c
sys/net/faith if_faith.c
sys/net/gif if_gif.c
sys/net/gre if_gre.c
sys/net/i4b/driver i4b_ipr.c
sys/net/ppp if_ppp.c
sys/net/sl if_sl.c
sys/net/stf if_stf.c
sys/net/tun if_tun.c
sys/net/vlan if_vlan.c
sys/netgraph/fec ng_fec.c
sys/netgraph/iface ng_iface.c
sys/netinet ip_gre.c
sys/netproto/802_11 ieee80211.c ieee80211_input.c
ieee80211_var.h
Log:
- Add support for attaching alternative DLTs to an interface.
The function is named bpfattach_dlt, FreeBSD used bpfattach2.
- Change bpf_mtap to take the bpf_if directly.
- Add support for BIOCSDLT and BIOCGDLT to recieve a list of DLTs
available on an interface.
Obtained-from: FreeBSD
- Add bpf_ptap, which takes an mbuf and a header, builds a temporary
mbuf chain and calls bpf_mtap on that.
Inspired-by: FreeBSD's bpf_mtap2
- Use the new interface for all drivers doing this by hand before.
- Include the formerly commented out support for radio headers in wi(4)
and wlan(4).
- Change if_loop, i4b_ipr, disc and ic to prepend a uint32_t, not an int.
Revision Changes Path
1.10 +4 -19 src/sys/dev/netif/ic/if_ic.c
1.9 +5 -11 src/sys/dev/netif/plip/if_plip.c
1.18 +11 -16 src/sys/dev/netif/wi/if_wi.c
1.22 +169 -28 src/sys/net/bpf.c
1.8 +25 -12 src/sys/net/bpf.h
1.4 +1 -0 src/sys/net/bpfdesc.h
1.26 +2 -10 src/sys/net/if_ethersubr.c
1.13 +5 -15 src/sys/net/if_loop.c
1.7 +3 -11 src/sys/net/disc/if_disc.c
1.13 +3 -7 src/sys/net/ef/if_ef.c
1.12 +4 -12 src/sys/net/faith/if_faith.c
1.11 +7 -23 src/sys/net/gif/if_gif.c
1.11 +2 -8 src/sys/net/gre/if_gre.c
1.14 +7 -36 src/sys/net/i4b/driver/i4b_ipr.c
1.23 +1 -5 src/sys/net/ppp/if_ppp.c
1.16 +2 -2 src/sys/net/sl/if_sl.c
1.14 +7 -49 src/sys/net/stf/if_stf.c
1.16 +6 -22 src/sys/net/tun/if_tun.c
1.12 +3 -7 src/sys/net/vlan/if_vlan.c
1.11 +2 -10 src/sys/netgraph/fec/ng_fec.c
1.8 +3 -9 src/sys/netgraph/iface/ng_iface.c
1.9 +6 -20 src/sys/netinet/ip_gre.c
1.3 +1 -3 src/sys/netproto/802_11/ieee80211.c
1.2 +4 -9 src/sys/netproto/802_11/ieee80211_input.c
1.2 +0 -2 src/sys/netproto/802_11/ieee80211_var.h
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/ic/if_ic.c.diff?r1=1.9&r2=1.10&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/plip/if_plip.c.diff?r1=1.8&r2=1.9&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/wi/if_wi.c.diff?r1=1.17&r2=1.18&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/net/bpf.c.diff?r1=1.21&r2=1.22&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/net/bpf.h.diff?r1=1.7&r2=1.8&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/net/bpfdesc.h.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/net/if_ethersubr.c.diff?r1=1.25&r2=1.26&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/net/if_loop.c.diff?r1=1.12&r2=1.13&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/net/disc/if_disc.c.diff?r1=1.6&r2=1.7&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/net/ef/if_ef.c.diff?r1=1.12&r2=1.13&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/net/faith/if_faith.c.diff?r1=1.11&r2=1.12&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/net/gif/if_gif.c.diff?r1=1.10&r2=1.11&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/net/gre/if_gre.c.diff?r1=1.10&r2=1.11&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/net/i4b/driver/i4b_ipr.c.diff?r1=1.13&r2=1.14&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/net/ppp/if_ppp.c.diff?r1=1.22&r2=1.23&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/net/sl/if_sl.c.diff?r1=1.15&r2=1.16&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/net/stf/if_stf.c.diff?r1=1.13&r2=1.14&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/net/tun/if_tun.c.diff?r1=1.15&r2=1.16&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/net/vlan/if_vlan.c.diff?r1=1.11&r2=1.12&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netgraph/fec/ng_fec.c.diff?r1=1.10&r2=1.11&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netgraph/iface/ng_iface.c.diff?r1=1.7&r2=1.8&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netinet/ip_gre.c.diff?r1=1.8&r2=1.9&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netproto/802_11/ieee80211.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netproto/802_11/ieee80211_input.c.diff?r1=1.1&r2=1.2&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netproto/802_11/ieee80211_var.h.diff?r1=1.1&r2=1.2&f=u
More information about the Commits
mailing list