/* * netsniff-ng - the packet sniffing beast * Copyright 2009, 2010 Daniel Borkmann. * Subject to the GPL, version 2. */ #ifndef PROTOS_H #define PROTOS_H struct protocol; extern struct protocol arp_ops; extern struct protocol ethernet_ops; extern struct protocol icmpv4_ops; extern struct protocol icmpv6_ops; extern struct protocol igmp_ops; extern struct protocol ip_auth_ops; extern struct protocol ip_esp_ops; extern struct protocol ipv4_ops; extern struct protocol ipv6_ops; extern struct protocol ipv6_dest_opts_ops; extern struct protocol ipv6_fragm_ops; extern struct protocol ipv6_hop_by_hop_ops; extern struct protocol ipv6_in_ipv4_ops; extern struct protocol ipv6_mobility_ops; extern struct protocol ipv6_no_next_header_ops; extern struct protocol ipv6_routing_ops; extern struct protocol lldp_ops; extern struct protocol none_ops; extern struct protocol tcp_ops; extern struct protocol udp_ops; extern struct protocol vlan_ops; extern struct protocol ieee80211_ops; extern struct protocol QinQ_ops; extern struct protocol mpls_uc_ops; #endif /* PROTOS_H */ ption> net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat
6df4d941c823360f6ae1 (patch)
treea44dab109b41b5567a2a7e993f01d6dbb61cdf3c
parentde882ff5b8640c34d5f1d5dfd2f22f405465aa19 (diff)
IB/hfi1: Simplify init_qpmap_table()
Make init_qpmap_table() easier to understand by simplifying the loop indexing and writing each register when it is "full", removing the need for a follow-on register write. Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com> Signed-off-by: Dean Luick <dean.luick@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat