Netgraph port from FreeBSD - initial porting work
authorMatthew Dillon <dillon@dragonflybsd.org>
Thu, 26 Jun 2008 23:05:40 +0000 (23:05 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Thu, 26 Jun 2008 23:05:40 +0000 (23:05 +0000)
commit5a975a3dcb66c383a644f58dd3a9a43c6ba43ac9
tree4f9a102325de63cae363c010997616065b0016d9
parent96e6b86255407c665717d9e103b497d789b8554f
Netgraph port from FreeBSD - initial porting work

* Use relative #include's as appropriate so the code doesn't
  dig into the original netgraph/ directory.

* Move FBSDID's and add DragonFly ids.

* Fix improper uses of M_NOWAIT.

* Fix uses of M_NOWAIT which should be MB_DONTWAIT and vise-versa
  (also forward to Julian).

* Add a dragonfly.h compatibility header.

* NOTE: m_tag_alloc() in DFly takes MB_ flags.
161 files changed:
sys/netgraph7/atm/ccatm/ng_ccatm.c
sys/netgraph7/atm/ccatm/ng_ccatm_cust.h
sys/netgraph7/atm/ng_atm.c
sys/netgraph7/atm/ng_atm.h
sys/netgraph7/atm/ng_ccatm.h
sys/netgraph7/atm/ng_sscfu.h
sys/netgraph7/atm/ng_sscop.h
sys/netgraph7/atm/ng_uni.h
sys/netgraph7/atm/ngatmbase.c
sys/netgraph7/atm/ngatmbase.h
sys/netgraph7/atm/sscfu/ng_sscfu.c
sys/netgraph7/atm/sscfu/ng_sscfu_cust.h
sys/netgraph7/atm/sscop/ng_sscop.c
sys/netgraph7/atm/sscop/ng_sscop_cust.h
sys/netgraph7/atm/uni/ng_uni.c
sys/netgraph7/atm/uni/ng_uni_cust.h
sys/netgraph7/bluetooth/common/ng_bluetooth.c
sys/netgraph7/bluetooth/drivers/bt3c/ng_bt3c_pccard.c
sys/netgraph7/bluetooth/drivers/bt3c/ng_bt3c_var.h
sys/netgraph7/bluetooth/drivers/h4/ng_h4.c
sys/netgraph7/bluetooth/drivers/h4/ng_h4_prse.h
sys/netgraph7/bluetooth/drivers/h4/ng_h4_var.h
sys/netgraph7/bluetooth/drivers/ubt/ng_ubt.c
sys/netgraph7/bluetooth/drivers/ubt/ng_ubt_var.h
sys/netgraph7/bluetooth/drivers/ubtbcmfw/ubtbcmfw.c
sys/netgraph7/bluetooth/hci/ng_hci_cmds.c
sys/netgraph7/bluetooth/hci/ng_hci_cmds.h
sys/netgraph7/bluetooth/hci/ng_hci_evnt.c
sys/netgraph7/bluetooth/hci/ng_hci_evnt.h
sys/netgraph7/bluetooth/hci/ng_hci_main.c
sys/netgraph7/bluetooth/hci/ng_hci_misc.c
sys/netgraph7/bluetooth/hci/ng_hci_misc.h
sys/netgraph7/bluetooth/hci/ng_hci_prse.h
sys/netgraph7/bluetooth/hci/ng_hci_ulpi.c
sys/netgraph7/bluetooth/hci/ng_hci_ulpi.h
sys/netgraph7/bluetooth/hci/ng_hci_var.h
sys/netgraph7/bluetooth/include/ng_bluetooth.h
sys/netgraph7/bluetooth/include/ng_bt3c.h
sys/netgraph7/bluetooth/include/ng_btsocket.h
sys/netgraph7/bluetooth/include/ng_btsocket_hci_raw.h
sys/netgraph7/bluetooth/include/ng_btsocket_l2cap.h
sys/netgraph7/bluetooth/include/ng_btsocket_rfcomm.h
sys/netgraph7/bluetooth/include/ng_h4.h
sys/netgraph7/bluetooth/include/ng_hci.h
sys/netgraph7/bluetooth/include/ng_l2cap.h
sys/netgraph7/bluetooth/include/ng_ubt.h
sys/netgraph7/bluetooth/l2cap/ng_l2cap_cmds.c
sys/netgraph7/bluetooth/l2cap/ng_l2cap_cmds.h
sys/netgraph7/bluetooth/l2cap/ng_l2cap_evnt.c
sys/netgraph7/bluetooth/l2cap/ng_l2cap_evnt.h
sys/netgraph7/bluetooth/l2cap/ng_l2cap_llpi.c
sys/netgraph7/bluetooth/l2cap/ng_l2cap_llpi.h
sys/netgraph7/bluetooth/l2cap/ng_l2cap_main.c
sys/netgraph7/bluetooth/l2cap/ng_l2cap_misc.c
sys/netgraph7/bluetooth/l2cap/ng_l2cap_misc.h
sys/netgraph7/bluetooth/l2cap/ng_l2cap_prse.h
sys/netgraph7/bluetooth/l2cap/ng_l2cap_ulpi.c
sys/netgraph7/bluetooth/l2cap/ng_l2cap_ulpi.h
sys/netgraph7/bluetooth/l2cap/ng_l2cap_var.h
sys/netgraph7/bluetooth/socket/ng_btsocket.c
sys/netgraph7/bluetooth/socket/ng_btsocket_hci_raw.c
sys/netgraph7/bluetooth/socket/ng_btsocket_l2cap.c
sys/netgraph7/bluetooth/socket/ng_btsocket_l2cap_raw.c
sys/netgraph7/bluetooth/socket/ng_btsocket_rfcomm.c
sys/netgraph7/dragonfly.h [new file with mode: 0644]
sys/netgraph7/netflow/netflow.c
sys/netgraph7/netflow/ng_netflow.c
sys/netgraph7/netgraph.h
sys/netgraph7/ng_UI.c
sys/netgraph7/ng_UI.h
sys/netgraph7/ng_async.c
sys/netgraph7/ng_async.h
sys/netgraph7/ng_atmllc.c
sys/netgraph7/ng_atmllc.h
sys/netgraph7/ng_base.c
sys/netgraph7/ng_bpf.c
sys/netgraph7/ng_bpf.h
sys/netgraph7/ng_bridge.c
sys/netgraph7/ng_bridge.h
sys/netgraph7/ng_car.c
sys/netgraph7/ng_car.h
sys/netgraph7/ng_cisco.c
sys/netgraph7/ng_cisco.h
sys/netgraph7/ng_deflate.c
sys/netgraph7/ng_deflate.h
sys/netgraph7/ng_device.c
sys/netgraph7/ng_device.h
sys/netgraph7/ng_echo.c
sys/netgraph7/ng_echo.h
sys/netgraph7/ng_eiface.c
sys/netgraph7/ng_eiface.h
sys/netgraph7/ng_etf.c
sys/netgraph7/ng_etf.h
sys/netgraph7/ng_ether.c
sys/netgraph7/ng_ether.h
sys/netgraph7/ng_fec.c
sys/netgraph7/ng_fec.h
sys/netgraph7/ng_frame_relay.c
sys/netgraph7/ng_frame_relay.h
sys/netgraph7/ng_gif.c
sys/netgraph7/ng_gif.h
sys/netgraph7/ng_gif_demux.c
sys/netgraph7/ng_gif_demux.h
sys/netgraph7/ng_hole.c
sys/netgraph7/ng_hole.h
sys/netgraph7/ng_hub.c
sys/netgraph7/ng_hub.h
sys/netgraph7/ng_iface.c
sys/netgraph7/ng_iface.h
sys/netgraph7/ng_ip_input.c
sys/netgraph7/ng_ip_input.h
sys/netgraph7/ng_ipfw.c
sys/netgraph7/ng_ipfw.h
sys/netgraph7/ng_ksocket.c
sys/netgraph7/ng_ksocket.h
sys/netgraph7/ng_l2tp.c
sys/netgraph7/ng_l2tp.h
sys/netgraph7/ng_lmi.c
sys/netgraph7/ng_lmi.h
sys/netgraph7/ng_message.h
sys/netgraph7/ng_mppc.c
sys/netgraph7/ng_mppc.h
sys/netgraph7/ng_nat.c
sys/netgraph7/ng_nat.h
sys/netgraph7/ng_one2many.c
sys/netgraph7/ng_one2many.h
sys/netgraph7/ng_parse.c
sys/netgraph7/ng_parse.h
sys/netgraph7/ng_ppp.c
sys/netgraph7/ng_ppp.h
sys/netgraph7/ng_pppoe.c
sys/netgraph7/ng_pppoe.h
sys/netgraph7/ng_pptpgre.c
sys/netgraph7/ng_pptpgre.h
sys/netgraph7/ng_pred1.c
sys/netgraph7/ng_pred1.h
sys/netgraph7/ng_rfc1490.c
sys/netgraph7/ng_rfc1490.h
sys/netgraph7/ng_sample.c
sys/netgraph7/ng_sample.h
sys/netgraph7/ng_socket.c
sys/netgraph7/ng_socket.h
sys/netgraph7/ng_socketvar.h
sys/netgraph7/ng_source.c
sys/netgraph7/ng_source.h
sys/netgraph7/ng_split.c
sys/netgraph7/ng_split.h
sys/netgraph7/ng_sppp.c
sys/netgraph7/ng_sppp.h
sys/netgraph7/ng_tag.c
sys/netgraph7/ng_tag.h
sys/netgraph7/ng_tcpmss.c
sys/netgraph7/ng_tcpmss.h
sys/netgraph7/ng_tee.c
sys/netgraph7/ng_tee.h
sys/netgraph7/ng_tty.c
sys/netgraph7/ng_tty.h
sys/netgraph7/ng_vjc.c
sys/netgraph7/ng_vjc.h
sys/netgraph7/ng_vlan.c
sys/netgraph7/ng_vlan.h