network - Major netmsg retooling, part 1
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 14 Sep 2010 23:28:53 +0000 (16:28 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 15 Sep 2010 02:34:59 +0000 (19:34 -0700)
commit002c1265bf9676475d08e73e8d873cea9ee4a82e
tree83533917fb0083265a197ef4f1bd20e48b03c74e
parentb72e51d1c25ac5e8162f41e1a83d2f263672ea73
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.
136 files changed:
sys/bus/usb/usb_ethersubr.c
sys/dev/acpica5/acpi_cpu_pstate.c
sys/dev/netif/aue/if_aue.c
sys/kern/kern_poll.c
sys/kern/sys_socket.c
sys/kern/uipc_domain.c
sys/kern/uipc_msg.c
sys/kern/uipc_proto.c
sys/kern/uipc_socket.c
sys/kern/uipc_socket2.c
sys/kern/uipc_syscalls.c
sys/kern/uipc_usrreq.c
sys/net/bpf.c
sys/net/bridge/bridgestp.c
sys/net/bridge/if_bridge.c
sys/net/bridge/if_bridgevar.h
sys/net/dummynet/ip_dummynet.c
sys/net/dummynet/ip_dummynet_glue.c
sys/net/gre/if_gre.c
sys/net/if.c
sys/net/if_ethersubr.c
sys/net/if_poll.c
sys/net/if_var.h
sys/net/ip_mroute/ip_mroute.c
sys/net/ipfw/ip_fw2.c
sys/net/ipfw/ip_fw2_glue.c
sys/net/netisr.c
sys/net/netisr.h
sys/net/netmsg.h
sys/net/netmsg2.h
sys/net/pf/pf.c
sys/net/pfil.c
sys/net/ppp/if_ppp.c
sys/net/raw_cb.h
sys/net/raw_usrreq.c
sys/net/route.c
sys/net/rtsock.c
sys/net/stf/if_stf.c
sys/net/stf/if_stf.h
sys/net/vlan/if_vlan.c
sys/net/vlan/if_vlan_ether.c
sys/net/vlan/if_vlan_ether.h
sys/netbt/bt_input.c
sys/netbt/bt_proto.c
sys/netbt/hci.h
sys/netbt/hci_socket.c
sys/netbt/l2cap.h
sys/netbt/l2cap_socket.c
sys/netbt/rfcomm.h
sys/netbt/rfcomm_socket.c
sys/netbt/sco.h
sys/netbt/sco_socket.c
sys/netgraph/netgraph/ng_base.c
sys/netgraph/socket/ng_socket.c
sys/netinet/if_ether.c
sys/netinet/igmp.c
sys/netinet/igmp_var.h
sys/netinet/in.c
sys/netinet/in_gif.c
sys/netinet/in_gif.h
sys/netinet/in_pcb.c
sys/netinet/in_pcb.h
sys/netinet/in_proto.c
sys/netinet/in_var.h
sys/netinet/ip_carp.c
sys/netinet/ip_carp.h
sys/netinet/ip_demux.c
sys/netinet/ip_divert.c
sys/netinet/ip_divert.h
sys/netinet/ip_encap.c
sys/netinet/ip_encap.h
sys/netinet/ip_flow.c
sys/netinet/ip_gre.c
sys/netinet/ip_gre.h
sys/netinet/ip_icmp.c
sys/netinet/ip_icmp.h
sys/netinet/ip_input.c
sys/netinet/ip_output.c
sys/netinet/ip_var.h
sys/netinet/pim_var.h
sys/netinet/raw_ip.c
sys/netinet/sctp_input.c
sys/netinet/sctp_usrreq.c
sys/netinet/sctp_var.h
sys/netinet/tcp_input.c
sys/netinet/tcp_subr.c
sys/netinet/tcp_syncache.c
sys/netinet/tcp_timer.c
sys/netinet/tcp_timer.h
sys/netinet/tcp_usrreq.c
sys/netinet/tcp_var.h
sys/netinet/udp_usrreq.c
sys/netinet/udp_var.h
sys/netinet6/ah.h
sys/netinet6/ah_input.c
sys/netinet6/esp.h
sys/netinet6/esp6.h
sys/netinet6/esp_input.c
sys/netinet6/icmp6.c
sys/netinet6/in6.c
sys/netinet6/in6_gif.c
sys/netinet6/in6_pcb.c
sys/netinet6/in6_pcb.h
sys/netinet6/in6_proto.c
sys/netinet6/in6_var.h
sys/netinet6/ip6_input.c
sys/netinet6/ip6_output.c
sys/netinet6/ip6_var.h
sys/netinet6/ip6protosw.h
sys/netinet6/ipcomp.h
sys/netinet6/ipcomp_input.c
sys/netinet6/raw_ip6.c
sys/netinet6/sctp6_usrreq.c
sys/netinet6/tcp6_var.h
sys/netinet6/udp6_usrreq.c
sys/netinet6/udp6_var.h
sys/netproto/atalk/aarp.c
sys/netproto/atalk/at_control.c
sys/netproto/atalk/at_extern.h
sys/netproto/atalk/at_proto.c
sys/netproto/atalk/ddp_input.c
sys/netproto/atalk/ddp_usrreq.c
sys/netproto/atm/atm_aal5.c
sys/netproto/atm/atm_proto.c
sys/netproto/atm/atm_subr.c
sys/netproto/atm/atm_usrreq.c
sys/netproto/atm/atm_var.h
sys/netproto/atm/kern_include.h
sys/netproto/ipsec/ipsec6.h
sys/netproto/ipsec/ipsec_input.c
sys/netproto/ipx/ipx_ip.c
sys/netproto/ipx/ipx_ip.h
sys/netproto/key/keysock.c
sys/sys/protosw.h
sys/sys/socketops.h
sys/sys/un.h