Deleted Added
full compact
30c30
< * $FreeBSD: stable/11/sys/net/if.h 301496 2016-06-06 09:51:58Z araujo $
---
> * $FreeBSD: stable/11/sys/net/if.h 324472 2017-10-10 05:25:46Z sephe $
527a528,563
> /*
> * RSS hash.
> */
>
> #define RSS_FUNC_NONE 0 /* RSS disabled */
> #define RSS_FUNC_PRIVATE 1 /* non-standard */
> #define RSS_FUNC_TOEPLITZ 2
>
> #define RSS_TYPE_IPV4 0x00000001
> #define RSS_TYPE_TCP_IPV4 0x00000002
> #define RSS_TYPE_IPV6 0x00000004
> #define RSS_TYPE_IPV6_EX 0x00000008
> #define RSS_TYPE_TCP_IPV6 0x00000010
> #define RSS_TYPE_TCP_IPV6_EX 0x00000020
> #define RSS_TYPE_UDP_IPV4 0x00000040
> #define RSS_TYPE_UDP_IPV6 0x00000080
> #define RSS_TYPE_UDP_IPV6_EX 0x00000100
>
> #define RSS_KEYLEN 128
>
> struct ifrsskey {
> char ifrk_name[IFNAMSIZ]; /* if name, e.g. "en0" */
> uint8_t ifrk_func; /* RSS_FUNC_ */
> uint8_t ifrk_spare0;
> uint16_t ifrk_keylen;
> uint8_t ifrk_key[RSS_KEYLEN];
> };
>
> struct ifrsshash {
> char ifrh_name[IFNAMSIZ]; /* if name, e.g. "en0" */
> uint8_t ifrh_func; /* RSS_FUNC_ */
> uint8_t ifrh_spare0;
> uint16_t ifrh_spare1;
> uint32_t ifrh_types; /* RSS_TYPE_ */
> };
>