git: netisr: Inline netisr_cpuport() and netisr_curport()
Sepherosa Ziehau
sephe at crater.dragonflybsd.org
Wed May 1 23:30:34 PDT 2013
commit 5337421c6171e008c78ba759b7ee97ddbe23e847
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date: Thu May 2 14:29:30 2013 +0800
netisr: Inline netisr_cpuport() and netisr_curport()
These two functions do nothing more than just return pointer to the
element in the array.
Per our header file naming convention, put these two functions in
net/netisr2.h
Summary of changes:
sys/dev/acpica/acpi_cpu_pstate.c | 2 +-
sys/kern/uipc_socket.c | 1 +
sys/kern/uipc_socket2.c | 2 +
sys/net/bpf.c | 1 +
sys/net/bridge/if_bridge.c | 1 +
sys/net/bridge/if_bridgevar.h | 1 +
sys/net/dummynet/ip_dummynet.c | 1 +
sys/net/dummynet/ip_dummynet_glue.c | 2 +-
sys/net/if.c | 2 +-
sys/net/if_ethersubr.c | 1 +
sys/net/if_poll.c | 1 +
sys/net/ipfw/ip_fw2.h | 2 +
sys/net/netisr.c | 24 +---------
sys/net/netisr.h | 3 --
sys/{netinet/tcp_seq.h => net/netisr2.h} | 82 +++++++++++++-------------------
sys/net/pf/pf.c | 2 +-
sys/net/pfil.c | 1 +
sys/net/rtsock.c | 1 +
sys/net/vlan/if_vlan.c | 1 +
sys/netinet/if_ether.c | 1 +
sys/netinet/in.c | 1 +
sys/netinet/ip_carp.c | 1 +
sys/netinet/ip_demux.c | 2 +-
sys/netinet/ip_divert.c | 1 +
sys/netinet/ip_flow.c | 2 +-
sys/netinet/ip_input.c | 2 +-
sys/netinet/tcp_output.c | 1 +
sys/netinet/tcp_subr.c | 2 +-
sys/netinet/tcp_syncache.c | 1 +
sys/netinet/tcp_usrreq.c | 1 +
sys/netinet/udp_usrreq.c | 1 +
sys/netinet6/ip6_input.c | 1 +
sys/netinet6/udp6_usrreq.c | 1 +
tools/tools/netrate/pktgen/pktgen.c | 1 +
34 files changed, 69 insertions(+), 81 deletions(-)
copy sys/{netinet/tcp_seq.h => net/netisr2.h} (68%)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5337421c6171e008c78ba759b7ee97ddbe23e847
--
DragonFly BSD source repository
More information about the Commits
mailing list