Lines Matching defs:key
1269 /* If either indir, hash key or function is valid, proceed further.
1270 * Must request at least one change: indir size, hash key or function.
2976 struct ethtool_rx_flow_key key;
3004 flow->rule->match.key = &match->key;
3016 ether_addr_copy(match->key.eth_addrs.src,
3022 ether_addr_copy(match->key.eth_addrs.dst,
3028 match->key.basic.n_proto = ether_spec->h_proto;
3037 match->key.basic.n_proto = htons(ETH_P_IP);
3043 match->key.ipv4.src = v4_spec->ip4src;
3047 match->key.ipv4.dst = v4_spec->ip4dst;
3058 match->key.tp.src = v4_spec->psrc;
3062 match->key.tp.dst = v4_spec->pdst;
3073 match->key.ip.tos = v4_spec->tos;
3086 match->key.basic.n_proto = htons(ETH_P_IPV6);
3091 memcpy(&match->key.ipv6.src, v6_spec->ip6src,
3092 sizeof(match->key.ipv6.src));
3097 memcpy(&match->key.ipv6.dst, v6_spec->ip6dst,
3098 sizeof(match->key.ipv6.dst));
3110 match->key.tp.src = v6_spec->psrc;
3114 match->key.tp.dst = v6_spec->pdst;
3125 match->key.ip.tos = v6_spec->tclass;
3142 match->key.basic.ip_proto = IPPROTO_TCP;
3147 match->key.basic.ip_proto = IPPROTO_UDP;
3161 match->key.vlan.vlan_tpid = ext_h_spec->vlan_etype;
3166 match->key.vlan.vlan_id =
3171 match->key.vlan.vlan_dei =
3176 match->key.vlan.vlan_priority =
3194 memcpy(match->key.eth_addrs.dst, ext_h_spec->h_dest,