Searched refs:map_opt (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/net/netfilter/ |
D | xt_set.c | 400 ADT_OPT(map_opt, xt_family(par), info->map_set.dim, in set_target_v3() 413 map_opt.cmdflags |= info->flags & (IPSET_FLAG_MAP_SKBMARK | in set_target_v3() 416 ret = match_set(info->map_set.index, skb, par, &map_opt, in set_target_v3() 420 if (map_opt.cmdflags & IPSET_FLAG_MAP_SKBMARK) in set_target_v3() 421 skb->mark = (skb->mark & ~MOPT(map_opt,skbmarkmask)) in set_target_v3() 422 ^ MOPT(map_opt, skbmark); in set_target_v3() 423 if (map_opt.cmdflags & IPSET_FLAG_MAP_SKBPRIO) in set_target_v3() 424 skb->priority = MOPT(map_opt, skbprio); in set_target_v3() 425 if ((map_opt.cmdflags & IPSET_FLAG_MAP_SKBQUEUE) && in set_target_v3() 427 skb->dev->real_num_tx_queues > MOPT(map_opt, skbqueue)) in set_target_v3() [all …]
|
/linux-6.1.9/tools/perf/util/ |
D | bpf-loader.c | 1526 char *map_opt; in bpf__obj_config_map() local 1532 map_opt = strchr(map_name, '.'); in bpf__obj_config_map() 1533 if (!map_opt) { in bpf__obj_config_map() 1538 *map_opt++ = '\0'; in bpf__obj_config_map() 1539 if (*map_opt == '\0') { in bpf__obj_config_map() 1551 *key_scan_pos += strlen(map_opt); in bpf__obj_config_map() 1555 *key_scan_pos -= strlen(map_opt); in bpf__obj_config_map() 1561 if (strcmp(map_opt, func->config_opt) == 0) { in bpf__obj_config_map() 1567 pr_debug("ERROR: Invalid map config option '%s'\n", map_opt); in bpf__obj_config_map() 1571 *key_scan_pos += strlen(map_opt); in bpf__obj_config_map()
|