Lines Matching defs:port
30 {"orig-port-src", 1, 0, '1'},
32 {"orig-port-dst", 1, 0, '2'},
34 {"reply-port-src", 1, 0, '3'},
35 {"reply-port-dst", 1, 0, '4'},
36 {"mask-port-src", 1, 0, '5'},
37 {"mask-port-dst", 1, 0, '6'},
38 {"tuple-port-src", 1, 0, '7'},
39 {"tuple-port-dst", 1, 0, '8'},
46 "sport", "dport", "reply-port-src", "reply-port-dst", "mask-port-src",
47 "mask-port-dst", "tuple-port-src", "tuple-port-dst"
52 fprintf(stdout, " --orig-port-src\t\toriginal source port\n");
53 fprintf(stdout, " --orig-port-dst\t\toriginal destination port\n");
54 fprintf(stdout, " --reply-port-src\t\treply source port\n");
55 fprintf(stdout, " --reply-port-dst\t\treply destination port\n");
56 fprintf(stdout, " --mask-port-src\t\tmask source port\n");
57 fprintf(stdout, " --mask-port-dst\t\tmask destination port\n");
58 fprintf(stdout, " --tuple-port-src\t\texpectation tuple src port\n");
59 fprintf(stdout, " --tuple-port-src\t\texpectation tuple dst port\n");
90 u_int16_t port;
92 port = htons(atoi(optarg));
93 nfct_set_attr_u16(ct, ATTR_ORIG_PORT_SRC, port);
98 port = htons(atoi(optarg));
99 nfct_set_attr_u16(ct, ATTR_ORIG_PORT_DST, port);
104 port = htons(atoi(optarg));
105 nfct_set_attr_u16(ct, ATTR_REPL_PORT_SRC, port);
110 port = htons(atoi(optarg));
111 nfct_set_attr_u16(ct, ATTR_REPL_PORT_DST, port);
116 port = htons(atoi(optarg));
117 nfct_set_attr_u16(mask, ATTR_ORIG_PORT_SRC, port);
122 port = htons(atoi(optarg));
123 nfct_set_attr_u16(mask, ATTR_ORIG_PORT_DST, port);
128 port = htons(atoi(optarg));
129 nfct_set_attr_u16(exptuple, ATTR_ORIG_PORT_SRC, port);
136 port = htons(atoi(optarg));
137 nfct_set_attr_u16(exptuple, ATTR_ORIG_PORT_DST, port);
172 "`--reply-src-port' and "
173 "`--reply-dst-port'");