/linux-master/net/netfilter/ipset/ |
H A D | ip_set_hash_netiface.c | 159 enum ipset_adt adt, struct ip_set_adt_opt *opt) 167 struct ip_set_ext ext = IP_SET_INIT_KEXT(skb, opt, set); 172 ip4addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip); 176 #define SRCDIR (opt->flags & IPSET_DIM_TWO_SRC) 178 if (opt->cmdflags & IPSET_FLAG_PHYSDEV) { 194 return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags); 380 enum ipset_adt adt, struct ip_set_adt_opt *opt) 388 struct ip_set_ext ext = IP_SET_INIT_KEXT(skb, opt, set); 393 ip6addrptr(skb, opt 157 hash_netiface4_kadt(struct ip_set *set, const struct sk_buff *skb, const struct xt_action_param *par, enum ipset_adt adt, struct ip_set_adt_opt *opt) argument 378 hash_netiface6_kadt(struct ip_set *set, const struct sk_buff *skb, const struct xt_action_param *par, enum ipset_adt adt, struct ip_set_adt_opt *opt) argument [all...] |
H A D | ip_set_hash_netport.c | 131 enum ipset_adt adt, struct ip_set_adt_opt *opt) 138 struct ip_set_ext ext = IP_SET_INIT_KEXT(skb, opt, set); 143 if (!ip_set_get_ip4_port(skb, opt->flags & IPSET_DIM_TWO_SRC, 147 ip4addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip); 150 return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags); 351 enum ipset_adt adt, struct ip_set_adt_opt *opt) 358 struct ip_set_ext ext = IP_SET_INIT_KEXT(skb, opt, set); 363 if (!ip_set_get_ip6_port(skb, opt->flags & IPSET_DIM_TWO_SRC, 367 ip6addrptr(skb, opt 129 hash_netport4_kadt(struct ip_set *set, const struct sk_buff *skb, const struct xt_action_param *par, enum ipset_adt adt, struct ip_set_adt_opt *opt) argument 349 hash_netport6_kadt(struct ip_set *set, const struct sk_buff *skb, const struct xt_action_param *par, enum ipset_adt adt, struct ip_set_adt_opt *opt) argument [all...] |
H A D | ip_set_hash_netnet.c | 145 enum ipset_adt adt, struct ip_set_adt_opt *opt) 150 struct ip_set_ext ext = IP_SET_INIT_KEXT(skb, opt, set); 157 ip4addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip[0]); 158 ip4addrptr(skb, opt->flags & IPSET_DIM_TWO_SRC, &e.ip[1]); 162 return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags); 384 enum ipset_adt adt, struct ip_set_adt_opt *opt) 389 struct ip_set_ext ext = IP_SET_INIT_KEXT(skb, opt, set); 396 ip6addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip[0].in6); 397 ip6addrptr(skb, opt 143 hash_netnet4_kadt(struct ip_set *set, const struct sk_buff *skb, const struct xt_action_param *par, enum ipset_adt adt, struct ip_set_adt_opt *opt) argument 382 hash_netnet6_kadt(struct ip_set *set, const struct sk_buff *skb, const struct xt_action_param *par, enum ipset_adt adt, struct ip_set_adt_opt *opt) argument [all...] |
/linux-master/tools/perf/ |
H A D | builtin-probe.c | 167 static int opt_set_target(const struct option *opt, const char *str, argument 174 if (!strcmp(opt->long_name, "exec")) 176 else if (!strcmp(opt->long_name, "module")) 202 static int opt_set_target_ns(const struct option *opt __maybe_unused, 233 static int opt_show_lines(const struct option *opt, argument 247 params->command = opt->short_name; 253 static int opt_show_vars(const struct option *opt, argument 267 params->command = opt->short_name; 275 static int opt_add_probe_event(const struct option *opt, argument 279 params->command = opt 286 opt_set_filter_with_command(const struct option *opt, const char *str, int unset) argument [all...] |
/linux-master/include/linux/netfilter/ipset/ |
H A D | ip_set.h | 157 enum ipset_adt adt, struct ip_set_adt_opt *opt); 322 struct ip_set_adt_opt *opt); 325 struct ip_set_adt_opt *opt); 328 struct ip_set_adt_opt *opt); 464 #define ip_set_adt_opt_timeout(opt, set) \ 465 ((opt)->ext.timeout != IPSET_NO_TIMEOUT ? (opt)->ext.timeout : (set)->timeout) 532 #define IP_SET_INIT_KEXT(skb, opt, set) \ 534 .timeout = ip_set_adt_opt_timeout(opt, set) }
|
/linux-master/tools/testing/radix-tree/ |
H A D | main.c | 287 int opt; local 290 while ((opt = getopt(argc, argv, "ls:v")) != -1) { 291 if (opt == 'l') 293 else if (opt == 's') 295 else if (opt == 'v')
|
/linux-master/net/core/ |
H A D | gen_estimator.c | 119 * @opt: rate estimator configuration TLV 135 struct nlattr *opt) 137 struct gnet_estimator *parm = nla_data(opt); 142 if (nla_len(opt) < sizeof(*parm)) 226 * @opt: rate estimator configuration TLV 237 bool running, struct nlattr *opt) 240 lock, running, opt); 130 gen_new_estimator(struct gnet_stats_basic_sync *bstats, struct gnet_stats_basic_sync __percpu *cpu_bstats, struct net_rate_estimator __rcu **rate_est, spinlock_t *lock, bool running, struct nlattr *opt) argument 233 gen_replace_estimator(struct gnet_stats_basic_sync *bstats, struct gnet_stats_basic_sync __percpu *cpu_bstats, struct net_rate_estimator __rcu **rate_est, spinlock_t *lock, bool running, struct nlattr *opt) argument
|
/linux-master/samples/bpf/ |
H A D | xdp_tx_iptunnel_user.c | 165 int opt, prog_fd; local 175 while ((opt = getopt(argc, argv, optstr)) != -1) { 179 switch (opt) { 199 if (opt == 's') 239 opt_flags[opt] = 0;
|
H A D | fds_example.c | 145 int opt, mode = BPF_M_UNSPEC; local 147 while ((opt = getopt(argc, argv, "F:PGmk:v:po:")) != -1) { 148 switch (opt) {
|
H A D | test_cgrp2_attach.c | 138 int opt, cg_fd, ret; local 140 while ((opt = getopt(argc, argv, "Dd")) != -1) { 141 switch (opt) {
|
H A D | xdp_fwd_user.c | 128 int opt, i, idx, err; local 132 while ((opt = getopt(argc, argv, ":dDSF")) != -1) { 133 switch (opt) {
|
H A D | sampleip_user.c | 141 int opt, freq = DEFAULT_FREQ, secs = DEFAULT_SECS, error = 1; local 148 while ((opt = getopt(argc, argv, "F:h")) != -1) { 149 switch (opt) {
|
/linux-master/include/net/ |
H A D | cipso_ipv4.h | 272 unsigned char *opt = *option; local 274 u8 opt_len = opt[1]; 283 if (get_unaligned_be32(&opt[2]) == 0) { 293 tag_len = opt[opt_iter + 1]; 302 *option = opt + err_offset;
|
/linux-master/net/sched/ |
H A D | act_tunnel_key.c | 121 struct geneve_opt *opt = dst; local 125 opt->opt_class = 127 opt->type = nla_get_u8(tb[TCA_TUNNEL_KEY_ENC_OPT_GENEVE_TYPE]); 128 opt->length = data_len / 4; /* length is in units of 4 bytes */ 129 opt->r1 = 0; 130 opt->r2 = 0; 131 opt->r3 = 0; 133 memcpy(opt + 1, data, data_len); 583 struct geneve_opt *opt = (struct geneve_opt *)src; local 586 opt 722 struct tc_tunnel_key opt = { local [all...] |
/linux-master/net/bluetooth/rfcomm/ |
H A D | sock.c | 624 u32 opt; local 632 if (bt_copy_from_sockptr(&opt, sizeof(opt), optval, optlen)) { 637 if (opt & RFCOMM_LM_FIPS) { 642 if (opt & RFCOMM_LM_AUTH) 644 if (opt & RFCOMM_LM_ENCRYPT) 646 if (opt & RFCOMM_LM_SECURE) 649 rfcomm_pi(sk)->role_switch = (opt & RFCOMM_LM_MASTER); 667 u32 opt; local 706 err = bt_copy_from_sockptr(&opt, sizeo 733 u32 opt; local [all...] |
/linux-master/net/llc/ |
H A D | af_llc.c | 1095 unsigned int opt; local 1101 rc = copy_from_sockptr(&opt, optval, sizeof(opt)); 1107 if (opt > LLC_OPT_MAX_RETRY) 1109 llc->n2 = opt; 1112 if (opt > LLC_OPT_MAX_SIZE) 1114 llc->n1 = opt; 1117 if (opt > LLC_OPT_MAX_ACK_TMR_EXP) 1119 llc->ack_timer.expire = opt * HZ; 1122 if (opt > LLC_OPT_MAX_P_TMR_EX [all...] |
/linux-master/tools/testing/ktest/ |
H A D | ktest.pl | 20 my %opt; 581 if (defined($opt{"LOG_FILE"})) { 587 if (defined($opt{"LOG_FILE"})) { 652 return if (defined($opt{$config})); 765 my $rtype = $opt{"REBOOT_TYPE"}; 768 if (!defined($opt{"GRUB_MENU"})) { 863 if (defined($opt{$lvalue})) { 874 $opt{$lvalue} = $prvalue; 940 defined($opt{$2}); 1252 $opt{"NUM_TEST [all...] |
/linux-master/tools/testing/selftests/net/ |
H A D | fin_ack_lat.c | 113 int opt = 1; local 126 &opt, sizeof(opt)) == -1)
|
/linux-master/scripts/dtc/ |
H A D | fdtoverlay.c | 165 int opt, i; local 169 while ((opt = util_getopt_long()) != EOF) { 170 switch (opt) {
|
/linux-master/tools/testing/selftests/gpio/ |
H A D | gpio-mockup-cdev.c | 119 int opt, ret, cfd, lfd; local 129 while ((opt = getopt(argc, argv, "lb:s:u:")) != -1) { 130 switch (opt) {
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | xdping.c | 101 int opt, ret = 1; local 106 while ((opt = getopt(argc, argv, optstr)) != -1) { 107 switch (opt) {
|
H A D | xdp_redirect_multi.c | 87 int i, err, ret, opt, egress_prog_fd = 0; local 96 while ((opt = getopt(argc, argv, "SNFX")) != -1) { 97 switch (opt) {
|
/linux-master/arch/s390/include/uapi/asm/ |
H A D | ipl.h | 53 __u8 opt; member in struct:ipl_pb0_fcp 79 __u8 opt; member in struct:ipl_pb0_nvme 121 __u8 opt; member in struct:ipl_pb0_eckd
|
/linux-master/samples/hid/ |
H A D | hid_surface_dial.c | 150 int opt, hid_id, resolution = 72; local 152 while ((opt = getopt(argc, argv, optstr)) != -1) { 153 switch (opt) {
|
/linux-master/tools/mm/ |
H A D | slabinfo-gnuplot.sh | 179 local opt 181 while getopts "tlr::s::h" opt; do 182 case $opt in
|