Now
netbsd-8 commitmail json YAML
src/share/man/man4/ip.4@1.36.20.2
/
diff
/
nxr@1.36.20.2
src/share/man/man9/sockopt.9@1.10.4.1 / diff / nxr@1.10.4.1
src/sys/kern/uipc_socket.c@1.255.2.1 / diff / nxr@1.255.2.1
src/sys/kern/uipc_syscalls.c@1.186.6.1 / diff / nxr@1.186.6.1
src/sys/netinet/in.h@1.100.6.3 / diff / nxr@1.100.6.3
src/sys/netinet/in_pcb.c@1.178.4.3 / diff / nxr@1.178.4.3
src/sys/netinet/in_pcb.h@1.63.6.2 / diff / nxr@1.63.6.2
src/sys/netinet/ip_input.c@1.355.2.6 / diff / nxr@1.355.2.6
src/sys/netinet/ip_output.c@1.279.2.7 / diff / nxr@1.279.2.7
src/sys/sys/socketvar.h@1.144.6.1 / diff / nxr@1.144.6.1
src/share/man/man9/sockopt.9@1.10.4.1 / diff / nxr@1.10.4.1
src/sys/kern/uipc_socket.c@1.255.2.1 / diff / nxr@1.255.2.1
src/sys/kern/uipc_syscalls.c@1.186.6.1 / diff / nxr@1.186.6.1
src/sys/netinet/in.h@1.100.6.3 / diff / nxr@1.100.6.3
src/sys/netinet/in_pcb.c@1.178.4.3 / diff / nxr@1.178.4.3
src/sys/netinet/in_pcb.h@1.63.6.2 / diff / nxr@1.63.6.2
src/sys/netinet/ip_input.c@1.355.2.6 / diff / nxr@1.355.2.6
src/sys/netinet/ip_output.c@1.279.2.7 / diff / nxr@1.279.2.7
src/sys/sys/socketvar.h@1.144.6.1 / diff / nxr@1.144.6.1
Pull up following revision(s) (requested by tih in ticket #639):
sys/kern/uipc_socket.c: revision 1.258
sys/kern/uipc_socket.c: revision 1.259
sys/netinet/ip_input.c: revision 1.364 (via patch)
sys/netinet/ip_output.c: revision 1.289
sys/netinet/in.h: revision 1.102
sys/netinet/in_pcb.c: revision 1.181
share/man/man9/sockopt.9: revision 1.11
sys/netinet/in_pcb.h: revision 1.65
sys/sys/socketvar.h: revision 1.146
sys/kern/uipc_syscalls.c: revision 1.189
sys/netinet/ip_output.c: revision 1.290
share/man/man4/ip.4: revision 1.41
share/man/man4/ip.4: revision 1.42
sys/kern/uipc_syscalls.c: revision 1.190
pass valsize for getsockopt like we do for setsockopt
make sure that we have enough space, don't require the exact size
(Tom Ivar Helbekkmo)
1) "#define ipi_spec_dst ipi_addr" in <netinet/in.h>
2) Change the IP_RECVPKTINFO option to control the generation of
IP_PKTINFO control messages, the way it's done in Solaris.
3) Remove the superfluous IP_RECVPKTINFO control message.
4) Change the IP_PKTINFO option to do different things depending on
the parameter it's supplied with:
- If it's sizeof(int), assume it's being used as in Linux:
- If it's non-zero, turn on the IP_RECVPKTINFO option.
- If it's zero, turn off the IP_RECVPKTINFO option.
- If it's sizeof(struct in_pktinfo), assume it's being used as in
Solaris, to set a default for the source interface and/or
source address for outgoing packets on the socket.
5) Return what Linux or Solaris compatible code expects, depending
on data size, and just added a fallback to a Linux (and current NetBSD)
compatible value if the size is unknown (as it is now), or,
in the future, if the calling application specifies a receiving
buffer that doesn't match either data item.
From: Tom Ivar Helbekkmo
new sentence-new line
Remove comment now that the getsockopt code passes the size.
Add a new sockopt member to keep track of the actual size of the option
that should be returned to the caller in getsockopt(2).
(Tom Ivar Helbekkmo)
sys/kern/uipc_socket.c: revision 1.258
sys/kern/uipc_socket.c: revision 1.259
sys/netinet/ip_input.c: revision 1.364 (via patch)
sys/netinet/ip_output.c: revision 1.289
sys/netinet/in.h: revision 1.102
sys/netinet/in_pcb.c: revision 1.181
share/man/man9/sockopt.9: revision 1.11
sys/netinet/in_pcb.h: revision 1.65
sys/sys/socketvar.h: revision 1.146
sys/kern/uipc_syscalls.c: revision 1.189
sys/netinet/ip_output.c: revision 1.290
share/man/man4/ip.4: revision 1.41
share/man/man4/ip.4: revision 1.42
sys/kern/uipc_syscalls.c: revision 1.190
pass valsize for getsockopt like we do for setsockopt
make sure that we have enough space, don't require the exact size
(Tom Ivar Helbekkmo)
1) "#define ipi_spec_dst ipi_addr" in <netinet/in.h>
2) Change the IP_RECVPKTINFO option to control the generation of
IP_PKTINFO control messages, the way it's done in Solaris.
3) Remove the superfluous IP_RECVPKTINFO control message.
4) Change the IP_PKTINFO option to do different things depending on
the parameter it's supplied with:
- If it's sizeof(int), assume it's being used as in Linux:
- If it's non-zero, turn on the IP_RECVPKTINFO option.
- If it's zero, turn off the IP_RECVPKTINFO option.
- If it's sizeof(struct in_pktinfo), assume it's being used as in
Solaris, to set a default for the source interface and/or
source address for outgoing packets on the socket.
5) Return what Linux or Solaris compatible code expects, depending
on data size, and just added a fallback to a Linux (and current NetBSD)
compatible value if the size is unknown (as it is now), or,
in the future, if the calling application specifies a receiving
buffer that doesn't match either data item.
From: Tom Ivar Helbekkmo
new sentence-new line
Remove comment now that the getsockopt code passes the size.
Add a new sockopt member to keep track of the actual size of the option
that should be returned to the caller in getsockopt(2).
(Tom Ivar Helbekkmo)