Searched refs:map_opt (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/net/netfilter/ |
D | xt_set.c | 404 ADT_OPT(map_opt, xt_family(par), info->map_set.dim, in set_target_v3() 417 map_opt.cmdflags |= info->flags & (IPSET_FLAG_MAP_SKBMARK | in set_target_v3() 420 ret = match_set(info->map_set.index, skb, par, &map_opt, in set_target_v3() 424 if (map_opt.cmdflags & IPSET_FLAG_MAP_SKBMARK) in set_target_v3() 425 skb->mark = (skb->mark & ~MOPT(map_opt,skbmarkmask)) in set_target_v3() 426 ^ MOPT(map_opt, skbmark); in set_target_v3() 427 if (map_opt.cmdflags & IPSET_FLAG_MAP_SKBPRIO) in set_target_v3() 428 skb->priority = MOPT(map_opt, skbprio); in set_target_v3() 429 if ((map_opt.cmdflags & IPSET_FLAG_MAP_SKBQUEUE) && in set_target_v3() 431 skb->dev->real_num_tx_queues > MOPT(map_opt, skbqueue)) in set_target_v3() [all …]
|
/Linux-v4.19/tools/perf/util/ |
D | bpf-loader.c | 1191 char *map_opt; in bpf__obj_config_map() local 1197 map_opt = strchr(map_name, '.'); in bpf__obj_config_map() 1198 if (!map_opt) { in bpf__obj_config_map() 1203 *map_opt++ = '\0'; in bpf__obj_config_map() 1204 if (*map_opt == '\0') { in bpf__obj_config_map() 1216 *key_scan_pos += strlen(map_opt); in bpf__obj_config_map() 1220 *key_scan_pos -= strlen(map_opt); in bpf__obj_config_map() 1226 if (strcmp(map_opt, func->config_opt) == 0) { in bpf__obj_config_map() 1232 pr_debug("ERROR: Invalid map config option '%s'\n", map_opt); in bpf__obj_config_map() 1237 key_scan_pos += strlen(map_opt); in bpf__obj_config_map()
|