• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/conntrack-tools/conntrack-tools-1.4.0/extensions/

Lines Matching defs:port

35 	{ .name = "orig-port-src",	.has_arg = 1, .val = '1' },
36 { .name = "orig-port-dst", .has_arg = 1, .val = '2' },
37 { .name = "reply-port-src", .has_arg = 1, .val = '3' },
38 { .name = "reply-port-dst", .has_arg = 1, .val = '4' },
39 { .name = "mask-port-src", .has_arg = 1, .val = '5' },
40 { .name = "mask-port-dst", .has_arg = 1, .val = '6' },
41 { .name = "tuple-port-src", .has_arg = 1, .val = '7' },
42 { .name = "tuple-port-dst", .has_arg = 1, .val = '8' },
51 [2] = "reply-port-src",
52 [3] = "reply-port-dst",
53 [4] = "mask-port-src",
54 [5] = "mask-port-dst",
55 [6] = "tuple-port-src",
56 [7] = "tuple-port-dst"
61 fprintf(stdout, " --orig-port-src\t\toriginal source port\n");
62 fprintf(stdout, " --orig-port-dst\t\toriginal destination port\n");
63 fprintf(stdout, " --reply-port-src\t\treply source port\n");
64 fprintf(stdout, " --reply-port-dst\t\treply destination port\n");
65 fprintf(stdout, " --mask-port-src\t\tmask source port\n");
66 fprintf(stdout, " --mask-port-dst\t\tmask destination port\n");
67 fprintf(stdout, " --tuple-port-src\t\texpectation tuple src port\n");
68 fprintf(stdout, " --tuple-port-src\t\texpectation tuple dst port\n");
98 u_int16_t port;
100 port = htons(atoi(optarg));
101 nfct_set_attr_u16(ct, ATTR_ORIG_PORT_SRC, port);
106 port = htons(atoi(optarg));
107 nfct_set_attr_u16(ct, ATTR_ORIG_PORT_DST, port);
112 port = htons(atoi(optarg));
113 nfct_set_attr_u16(ct, ATTR_REPL_PORT_SRC, port);
118 port = htons(atoi(optarg));
119 nfct_set_attr_u16(ct, ATTR_REPL_PORT_DST, port);
124 port = htons(atoi(optarg));
125 nfct_set_attr_u16(mask, ATTR_ORIG_PORT_SRC, port);
130 port = htons(atoi(optarg));
131 nfct_set_attr_u16(mask, ATTR_ORIG_PORT_DST, port);
136 port = htons(atoi(optarg));
137 nfct_set_attr_u16(exptuple, ATTR_ORIG_PORT_SRC, port);
142 port = htons(atoi(optarg));
143 nfct_set_attr_u16(exptuple, ATTR_ORIG_PORT_DST, port);
177 "`--reply-src-port' and "
178 "`--reply-dst-port'");