cvs commit: src/sys/netatalk ddp_usrreq.c src/sys/netgraph ng_socket.c src/sys/netinet in_pcb.c in_pcb.h ip_divert.c raw_ip.c tcp_usrreq.c udp_usrreq.c src/sys/netinet6 in6_pcb.c in6_pcb.h raw_ip6.c src/sys/netipx ipx_pcb.c ipx_pcb.h ipx_usrreq.c

Robert Watson rwatson at FreeBSD.org
Fri May 11 10:20:51 UTC 2007


rwatson     2007-05-11 10:20:51 UTC

  FreeBSD src repository

  Modified files:
    sys/netatalk         ddp_usrreq.c 
    sys/netgraph         ng_socket.c 
    sys/netinet          in_pcb.c in_pcb.h ip_divert.c raw_ip.c 
                         tcp_usrreq.c udp_usrreq.c 
    sys/netinet6         in6_pcb.c in6_pcb.h raw_ip6.c 
    sys/netipx           ipx_pcb.c ipx_pcb.h ipx_usrreq.c 
  Log:
  Reduce network stack oddness: implement .pru_sockaddr and .pru_peeraddr
  protocol entry points using functions named proto_getsockaddr and
  proto_getpeeraddr rather than proto_setsockaddr and proto_setpeeraddr.
  While it's true that sockaddrs are allocated and set, the net effect is
  to retrieve (get) the socket address or peer address from a socket, not
  set it, so align names to that intent.
  
  Revision  Changes    Path
  1.55      +5 -5      src/sys/netatalk/ddp_usrreq.c
  1.82      +3 -3      src/sys/netgraph/ng_socket.c
  1.191     +7 -15     src/sys/netinet/in_pcb.c
  1.98      +2 -2      src/sys/netinet/in_pcb.h
  1.128     +2 -2      src/sys/netinet/ip_divert.c
  1.175     +2 -2      src/sys/netinet/raw_ip.c
  1.156     +3 -3      src/sys/netinet/tcp_usrreq.c
  1.208     +2 -2      src/sys/netinet/udp_usrreq.c
  1.78      +10 -20    src/sys/netinet6/in6_pcb.c
  1.19      +2 -2      src/sys/netinet6/in6_pcb.h
  1.67      +2 -2      src/sys/netinet6/raw_ip6.c
  1.48      +2 -2      src/sys/netipx/ipx_pcb.c
  1.28      +2 -2      src/sys/netipx/ipx_pcb.h
  1.60      +2 -2      src/sys/netipx/ipx_usrreq.c


More information about the cvs-src mailing list