Lines Matching refs:exp
63 struct nfnl_exp *exp; in main() local
70 exp = nl_cli_exp_alloc(); in main()
145 case '4': nfnl_exp_set_family(exp, AF_INET); break; in main()
146 case '6': nfnl_exp_set_family(exp, AF_INET6); break; in main()
149 case 'i': nl_cli_exp_parse_id(exp, optarg); break; in main()
150 case ARG_EXPECT_PROTO: nl_cli_exp_parse_l4protonum(exp, NFNL_EXP_TUPLE_EXPECT, optarg); break; in main()
151 case ARG_EXPECT_SRC: nl_cli_exp_parse_src(exp, NFNL_EXP_TUPLE_EXPECT, optarg); break; in main()
152 case ARG_EXPECT_SPORT: nl_cli_exp_parse_src_port(exp, NFNL_EXP_TUPLE_EXPECT, optarg); break; in main()
153 case ARG_EXPECT_DST: nl_cli_exp_parse_dst(exp, NFNL_EXP_TUPLE_EXPECT, optarg); break; in main()
154 case ARG_EXPECT_DPORT: nl_cli_exp_parse_dst_port(exp, NFNL_EXP_TUPLE_EXPECT, optarg); break; in main()
155 case ARG_MASTER_PROTO: nl_cli_exp_parse_l4protonum(exp, NFNL_EXP_TUPLE_MASTER, optarg); break; in main()
156 case ARG_MASTER_SRC: nl_cli_exp_parse_src(exp, NFNL_EXP_TUPLE_MASTER, optarg); break; in main()
157 case ARG_MASTER_SPORT: nl_cli_exp_parse_src_port(exp, NFNL_EXP_TUPLE_MASTER, optarg); break; in main()
158 case ARG_MASTER_DST: nl_cli_exp_parse_dst(exp, NFNL_EXP_TUPLE_MASTER, optarg); break; in main()
159 case ARG_MASTER_DPORT: nl_cli_exp_parse_dst_port(exp, NFNL_EXP_TUPLE_MASTER, optarg); break; in main()
160 case ARG_MASK_PROTO: nl_cli_exp_parse_l4protonum(exp, NFNL_EXP_TUPLE_MASK, optarg); break; in main()
161 case ARG_MASK_SRC: nl_cli_exp_parse_src(exp, NFNL_EXP_TUPLE_MASK, optarg); break; in main()
162 case ARG_MASK_SPORT: nl_cli_exp_parse_src_port(exp, NFNL_EXP_TUPLE_MASK, optarg); break; in main()
163 case ARG_MASK_DST: nl_cli_exp_parse_dst(exp, NFNL_EXP_TUPLE_MASK, optarg); break; in main()
164 case ARG_MASK_DPORT: nl_cli_exp_parse_dst_port(exp, NFNL_EXP_TUPLE_MASK, optarg); break; in main()
165 case ARG_NAT_PROTO: nl_cli_exp_parse_l4protonum(exp, NFNL_EXP_TUPLE_NAT, optarg); break; in main()
166 case ARG_NAT_SRC: nl_cli_exp_parse_src(exp, NFNL_EXP_TUPLE_NAT, optarg); break; in main()
167 case ARG_NAT_SPORT: nl_cli_exp_parse_src_port(exp, NFNL_EXP_TUPLE_NAT, optarg); break; in main()
168 case ARG_NAT_DST: nl_cli_exp_parse_dst(exp, NFNL_EXP_TUPLE_NAT, optarg); break; in main()
169 case ARG_NAT_DPORT: nl_cli_exp_parse_dst_port(exp, NFNL_EXP_TUPLE_NAT, optarg); break; in main()
170 case ARG_NAT_DIR: nl_cli_exp_parse_nat_dir(exp, optarg); break; in main()
171 case 'F': nl_cli_exp_parse_family(exp, optarg); break; in main()
172 case ARG_TIMEOUT: nl_cli_exp_parse_timeout(exp, optarg); break; in main()
173 case ARG_HELPER_NAME: nl_cli_exp_parse_helper_name(exp, optarg); break; in main()
174 case ARG_FLAGS: nl_cli_exp_parse_flags(exp, optarg); break; in main()
181 if ((err = nfnl_exp_add(sock, exp, nlflags)) < 0) in main()
186 nl_object_dump(OBJ_CAST(exp), ¶ms); in main()