cvs commit: src/sys/dev/virtual/net if_vke.c src/sys/kern uipc_domain.c uipc_proto.c uipc_usrreq.c src/sys/net if.c src/sys/netinet ip_icmp.c src/sys/netinet6 esp_input.c icmp6.c ipsec.c nd6.c src/sys/netproto/ipsec ipsec_input.c ipsec_output.c ...
Matthew Dillon
dillon at crater.dragonflybsd.org
Mon May 26 18:13:18 PDT 2008
dillon 2008/05/26 18:10:47 PDT
DragonFly src repository
Modified files:
sys/dev/virtual/net if_vke.c
sys/kern uipc_domain.c uipc_proto.c uipc_usrreq.c
sys/net if.c
sys/netinet ip_icmp.c
sys/netinet6 esp_input.c icmp6.c ipsec.c nd6.c
sys/netproto/ipsec ipsec_input.c ipsec_output.c
sys/platform/vkernel/platform init.c
sys/sys protosw.h socket.h
Log:
* Implement SOCK_SEQPACKET sockets for local communications. These sockets
operate like SOCK_STREAM but each write() builds a record and each read()
reads a record. That is, the data is not aggregated together or allowed
to be partially read.
This allows local sockets to have the same packetization characteristics
as if_tap when desired.
* Add a feature to the vkernel which allows a unix domain socket to be
specified for the network interface rather then a TAP interface. The
vkernel will connect to the socket using SOCK_SEQPACKET and read and
write packets to it.
* Clean up some libc/kernel namespace collisions related to including
sys/socket.h.
Revision Changes Path
1.8 +15 -10 src/sys/dev/virtual/net/if_vke.c
1.10 +2 -2 src/sys/kern/uipc_domain.c
1.6 +7 -0 src/sys/kern/uipc_proto.c
1.40 +20 -3 src/sys/kern/uipc_usrreq.c
1.66 +2 -2 src/sys/net/if.c
1.29 +1 -1 src/sys/netinet/ip_icmp.c
1.17 +2 -2 src/sys/netinet6/esp_input.c
1.28 +2 -2 src/sys/netinet6/icmp6.c
1.22 +1 -1 src/sys/netinet6/ipsec.c
1.30 +1 -1 src/sys/netinet6/nd6.c
1.13 +3 -3 src/sys/netproto/ipsec/ipsec_input.c
1.12 +1 -1 src/sys/netproto/ipsec/ipsec_output.c
1.54 +40 -1 src/sys/platform/vkernel/platform/init.c
1.21 +2 -2 src/sys/sys/protosw.h
1.21 +1 -1 src/sys/sys/socket.h
http://www.dragonflybsd.org/cvsweb/src/sys/dev/virtual/net/if_vke.c.diff?r1=1.7&r2=1.8&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/uipc_domain.c.diff?r1=1.9&r2=1.10&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/uipc_proto.c.diff?r1=1.5&r2=1.6&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/uipc_usrreq.c.diff?r1=1.39&r2=1.40&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/net/if.c.diff?r1=1.65&r2=1.66&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netinet/ip_icmp.c.diff?r1=1.28&r2=1.29&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netinet6/esp_input.c.diff?r1=1.16&r2=1.17&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netinet6/icmp6.c.diff?r1=1.27&r2=1.28&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netinet6/ipsec.c.diff?r1=1.21&r2=1.22&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netinet6/nd6.c.diff?r1=1.29&r2=1.30&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netproto/ipsec/ipsec_input.c.diff?r1=1.12&r2=1.13&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netproto/ipsec/ipsec_output.c.diff?r1=1.11&r2=1.12&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/platform/vkernel/platform/init.c.diff?r1=1.53&r2=1.54&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/protosw.h.diff?r1=1.20&r2=1.21&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/socket.h.diff?r1=1.20&r2=1.21&f=u
More information about the Commits
mailing list