DragonFly commits List (threaded) for 2010-09
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: network - Major netmsg retooling, part 1
commit 002c1265bf9676475d08e73e8d873cea9ee4a82e
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date: Tue Sep 14 16:28:53 2010 -0700
network - Major netmsg retooling, part 1
* Remove all the netmsg shims and make all pr_usrreqs and some proto->pr_*
requests directly netmsg'd.
* Fix issues with tcp implied connects and tcp6->tcp4 fallbacks with
implied connects.
* Fix an issue with a stack-based udp netmsg (allocate it)
* Consolidate struct ip6protosw and struct protosw into a single
structure and normalize the API functions which differed between
the two (primarily proto->pr_input()).
* Remove protosw->pr_soport()
* Replace varargs protocol *_input() functions (ongoing) with fixed
arguments.
Summary of changes:
sys/bus/usb/usb_ethersubr.c | 4 +-
sys/dev/acpica5/acpi_cpu_pstate.c | 79 +++---
sys/dev/netif/aue/if_aue.c | 2 +-
sys/kern/kern_poll.c | 138 ++++----
sys/kern/sys_socket.c | 9 +-
sys/kern/uipc_domain.c | 26 +-
sys/kern/uipc_msg.c | 474 ++++++++--------------------
sys/kern/uipc_proto.c | 61 +++--
sys/kern/uipc_socket.c | 17 +-
sys/kern/uipc_socket2.c | 98 +-----
sys/kern/uipc_syscalls.c | 36 +--
sys/kern/uipc_usrreq.c | 255 +++++++++-------
sys/net/bpf.c | 12 +-
sys/net/bridge/bridgestp.c | 10 +-
sys/net/bridge/if_bridge.c | 184 ++++++------
sys/net/bridge/if_bridgevar.h | 6 +-
sys/net/dummynet/ip_dummynet.c | 30 +-
sys/net/dummynet/ip_dummynet_glue.c | 79 +++---
sys/net/gre/if_gre.c | 44 ++-
sys/net/if.c | 49 ++--
sys/net/if_ethersubr.c | 13 +-
sys/net/if_poll.c | 154 +++++-----
sys/net/if_var.h | 4 +-
sys/net/ip_mroute/ip_mroute.c | 82 +++---
sys/net/ipfw/ip_fw2.c | 170 +++++-----
sys/net/ipfw/ip_fw2_glue.c | 15 +-
sys/net/netisr.c | 68 ++---
sys/net/netisr.h | 66 +----
sys/net/netmsg.h | 176 ++++++++---
sys/net/netmsg2.h | 8 +-
sys/net/pf/pf.c | 26 +-
sys/net/pfil.c | 28 +-
sys/net/ppp/if_ppp.c | 4 +-
sys/net/raw_cb.h | 4 +-
sys/net/raw_usrreq.c | 212 ++++++++------
sys/net/route.c | 135 ++++----
sys/net/rtsock.c | 160 +++++-----
sys/net/stf/if_stf.c | 44 ++--
sys/net/stf/if_stf.h | 2 +-
sys/net/vlan/if_vlan.c | 108 +++----
sys/net/vlan/if_vlan_ether.c | 6 +-
sys/net/vlan/if_vlan_ether.h | 4 +-
sys/netbt/bt_input.c | 2 +-
sys/netbt/bt_proto.c | 4 -
sys/netbt/hci.h | 5 +-
sys/netbt/hci_socket.c | 315 +++++++++++--------
sys/netbt/l2cap.h | 3 +-
sys/netbt/l2cap_socket.c | 242 +++++++++------
sys/netbt/rfcomm.h | 3 +-
sys/netbt/rfcomm_socket.c | 255 +++++++++------
sys/netbt/sco.h | 4 +-
sys/netbt/sco_socket.c | 239 ++++++++------
sys/netgraph/netgraph/ng_base.c | 8 +-
sys/netgraph/socket/ng_socket.c | 222 ++++++++------
sys/netinet/if_ether.c | 48 ++--
sys/netinet/igmp.c | 33 +-
sys/netinet/igmp_var.h | 2 +-
sys/netinet/in.c | 117 +++----
sys/netinet/in_gif.c | 44 ++--
sys/netinet/in_gif.h | 2 +-
sys/netinet/in_pcb.c | 19 ++
sys/netinet/in_pcb.h | 4 +
sys/netinet/in_proto.c | 571 +++++++++++++++++++++++----------
sys/netinet/in_var.h | 3 +-
sys/netinet/ip_carp.c | 24 +-
sys/netinet/ip_carp.h | 2 +-
sys/netinet/ip_demux.c | 14 -
sys/netinet/ip_divert.c | 145 +++++----
sys/netinet/ip_divert.h | 2 +-
sys/netinet/ip_encap.c | 42 ++--
sys/netinet/ip_encap.h | 2 +-
sys/netinet/ip_flow.c | 18 +-
sys/netinet/ip_gre.c | 36 ++-
sys/netinet/ip_gre.h | 4 +-
sys/netinet/ip_icmp.c | 28 +-
sys/netinet/ip_icmp.h | 2 +-
sys/netinet/ip_input.c | 54 ++--
sys/netinet/ip_output.c | 18 +-
sys/netinet/ip_var.h | 15 +-
sys/netinet/pim_var.h | 2 +-
sys/netinet/raw_ip.c | 227 ++++++++------
sys/netinet/sctp_input.c | 33 +--
sys/netinet/sctp_usrreq.c | 592 ++++++++++++++---------------------
sys/netinet/sctp_var.h | 47 +--
sys/netinet/tcp_input.c | 35 +-
sys/netinet/tcp_subr.c | 122 ++++----
sys/netinet/tcp_syncache.c | 12 +-
sys/netinet/tcp_timer.c | 16 +-
sys/netinet/tcp_timer.h | 2 +-
sys/netinet/tcp_usrreq.c | 530 +++++++++++++++++--------------
sys/netinet/tcp_var.h | 10 +-
sys/netinet/udp_usrreq.c | 310 ++++++++++---------
sys/netinet/udp_var.h | 8 +-
sys/netinet6/ah.h | 2 +-
sys/netinet6/ah_input.c | 26 +-
sys/netinet6/esp.h | 2 +-
sys/netinet6/esp6.h | 3 +-
sys/netinet6/esp_input.c | 42 ++-
sys/netinet6/icmp6.c | 18 +-
sys/netinet6/in6.c | 15 +
sys/netinet6/in6_gif.c | 28 +-
sys/netinet6/in6_pcb.c | 39 +++
sys/netinet6/in6_pcb.h | 5 +
sys/netinet6/in6_proto.c | 330 +++++++++++++-------
sys/netinet6/in6_var.h | 5 +-
sys/netinet6/ip6_input.c | 34 +--
sys/netinet6/ip6_output.c | 13 +
sys/netinet6/ip6_var.h | 9 +-
sys/netinet6/ip6protosw.h | 44 +---
sys/netinet6/ipcomp.h | 2 +-
sys/netinet6/ipcomp_input.c | 26 +-
sys/netinet6/raw_ip6.c | 214 ++++++++-----
sys/netinet6/sctp6_usrreq.c | 307 ++++++++++---------
sys/netinet6/tcp6_var.h | 3 +-
sys/netinet6/udp6_usrreq.c | 193 +++++++-----
sys/netinet6/udp6_var.h | 2 +-
sys/netproto/atalk/aarp.c | 4 +-
sys/netproto/atalk/at_control.c | 2 +-
sys/netproto/atalk/at_extern.h | 8 +-
sys/netproto/atalk/at_proto.c | 20 +-
sys/netproto/atalk/ddp_input.c | 8 +-
sys/netproto/atalk/ddp_usrreq.c | 293 ++++++++++-------
sys/netproto/atm/atm_aal5.c | 501 ++++++++++++++++--------------
sys/netproto/atm/atm_proto.c | 146 ++-------
sys/netproto/atm/atm_subr.c | 10 +-
sys/netproto/atm/atm_usrreq.c | 230 ++++++++------
sys/netproto/atm/atm_var.h | 11 +-
sys/netproto/atm/kern_include.h | 3 +
sys/netproto/ipsec/ipsec6.h | 3 +-
sys/netproto/ipsec/ipsec_input.c | 2 +-
sys/netproto/ipx/ipx_ip.c | 24 +-
sys/netproto/ipx/ipx_ip.h | 6 +-
sys/netproto/key/keysock.c | 212 ++++++++-----
sys/sys/protosw.h | 173 ++++------
sys/sys/socketops.h | 15 +-
sys/sys/un.h | 2 +-
136 files changed, 5595 insertions(+), 5039 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/002c1265bf9676475d08e73e8d873cea9ee4a82e
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]