Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
NetBSD master CVS tree commits
thorpej
Wed Apr 29 17:03:16 PDT 1998
Update of /cvsroot/src/sys/sys
In directory nb00:/tmp/cvs-serv18819
Modified Files:
socket.h
Log Message:
Define a new pseudo-address family, pseudo_AF_HDRCMPLT, which is used by
BPF to tell interface output routines to not fill in the layer 2 source
address. From Greg Smith <greg%nas.nasa.gov@localhost>.
thorpej
Wed Apr 29 17:05:41 PDT 1998
Update of /cvsroot/src/sys/net
In directory nb00:/tmp/cvs-serv18839
Modified Files:
if_ethersubr.c
Log Message:
In ether_output(), if the socket address family is pseudo_AF_HDRCMPLT,
use the Ethernet source address speficied in the sockaddr rather than
the interface's Ethernet address, and then fall through to the AF_UNSPEC
case. From Greg Smith <greg%nas.nasa.gov@localhost>.
thorpej
Wed Apr 29 17:08:19 PDT 1998
Update of /cvsroot/src/sys/net
In directory nb00:/tmp/cvs-serv18860
Modified Files:
bpfdesc.h bpf.h bpf.c
Log Message:
Implement two new BPF ioctls: BPFGHDRCMPLT and BPFSHDRCMPLT, to get/set
the "header already complete" flag. This allows BPF writers to spoof
layer 2 source addresses (providing the layer 2 in use supports it) in
applications where this is necessary. From Greg Smith
<greg%nas.nasa.gov@localhost>.
Home |
Main Index |
Thread Index |
Old Index