summaryrefslogtreecommitdiff
path: root/sys/netinet/icmp_var.h
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2018-12-11 01:27:09 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2018-12-11 01:27:09 +0000
commit302f0ccd13b4435e574859c6defc8365e08001a2 (patch)
tree43ccc10d8d97e30fff216dfa51d12d82a8d6dbc7 /sys/netinet/icmp_var.h
parentda1793edea7ce7c98ea343a907e74f8c919b3359 (diff)
split ether_output into resolution, encapsulation, and output functions
if if_output can be overridden on ethernet interfaces, it will allow things like vlan to do it's packet encapsulation during output before putting the packet directly on the underlying interface for output. this has two benefits. first, it can avoid having ether_output on pseudo interfaces recurse, which makes profiling of the network stack a lot clearer. secondly, and more importantly, it allows pseudo ethernet interface packet encapsulation to by run concurrently by the stack, rather than having packets unnecessarily serialied by an ifq. this diff just splits ether_output up, it doesnt have any interface take advantage of it yet. tweaks and ok claudio@
Diffstat (limited to 'sys/netinet/icmp_var.h')
0 files changed, 0 insertions, 0 deletions