Data Structures | |
| struct | snf_rss_mode_function |
| struct | snf_rss_params |
Defines | |
| #define | SNF_RSS_IPV4 SNF_RSS_IP |
Enumerations | |
| enum | snf_rss_params_mode { SNF_RSS_FLAGS = 0, SNF_RSS_FUNCTION = 1 } |
| enum | snf_rss_mode_flags { SNF_RSS_IP = 0x01, SNF_RSS_SRC_PORT = 0x10, SNF_RSS_DST_PORT = 0x20 } |
| #define SNF_RSS_IPV4 SNF_RSS_IP |
Alias for SNF_RSS_IP since IPv4 and IPv6 are always both enabled
| enum snf_rss_mode_flags |
RSS parameters for SNF_RSS_FLAGS, flags that can be specified to let the implementation know which IP/TCP/UDP fields are significant when generating the hash. By default, RSS is computed on IPv4/IPv6 addresses and source/destination ports when the protocol is TCP or UDP, the equivalent of which would be
struct snf_rss_params rssp; rssp.mode = SNF_RSS_FLAGS; rssp.params.rss_flags = SNF_RSS_IP | SNF_RSS_SRC_PORT | SNF_RSS_DST_PORT; snf_handle_t hsnf; int rc = snf_open(0, 0, &rssp, 0, -1, &hsnf); if (rc == 0) printf("RSS will by applied to IP addresses and TCP/UDP ports if applicable");
| enum snf_rss_params_mode |
![]()
26 October 2010 Sniffer10G 1.0.2_pcap1.1.1