Lines Matching refs:ct
51 struct nfnl_ct *ct; in main() local
58 ct = nl_cli_ct_alloc(); in main()
104 case '4': nfnl_ct_set_family(ct, AF_INET); break; in main()
105 case '6': nfnl_ct_set_family(ct, AF_INET6); break; in main()
108 case 'p': nl_cli_ct_parse_protocol(ct, optarg); break; in main()
109 case ARG_ORIG_SRC: nl_cli_ct_parse_src(ct, 0, optarg); break; in main()
110 case ARG_ORIG_SPORT: nl_cli_ct_parse_src_port(ct, 0, optarg); break; in main()
111 case ARG_ORIG_DST: nl_cli_ct_parse_dst(ct, 0, optarg); break; in main()
112 case ARG_ORIG_DPORT: nl_cli_ct_parse_dst_port(ct, 0, optarg); break; in main()
113 case ARG_REPLY_SRC: nl_cli_ct_parse_src(ct, 1, optarg); break; in main()
114 case ARG_REPLY_SPORT: nl_cli_ct_parse_src_port(ct, 1, optarg); break; in main()
115 case ARG_REPLY_DST: nl_cli_ct_parse_dst(ct, 1, optarg); break; in main()
116 case ARG_REPLY_DPORT: nl_cli_ct_parse_dst_port(ct, 1, optarg); break; in main()
117 case 'F': nl_cli_ct_parse_family(ct, optarg); break; in main()
118 case ARG_MARK: nl_cli_ct_parse_mark(ct, optarg); break; in main()
119 case ARG_TIMEOUT: nl_cli_ct_parse_timeout(ct, optarg); break; in main()
120 case ARG_STATUS: nl_cli_ct_parse_status(ct, optarg); break; in main()
121 case ARG_ZONE: nl_cli_ct_parse_zone(ct, optarg); break; in main()
127 nl_object_dump(OBJ_CAST(ct), ¶ms); in main()
133 if ((err = nfnl_ct_add(sock, ct, nlflags)) < 0) in main()
138 nl_object_dump(OBJ_CAST(ct), ¶ms); in main()