Lines Matching full:dport
479 fprintf(fp, "dport %u ", ntohs(sel->dport));
483 /* type/code is stored at sport/dport in selector */
487 fprintf(fp, "code %u ", ntohs(sel->dport));
494 fprintf(fp, "(dport) 0x%.4x ", sel->dport);
729 fprintf(fp, "dport %u ", ntohs(e->encap_dport));
1123 } else if (strcmp(*argv, "dport") == 0) {
1128 if (get_u16(&sel->dport, *argv, 0))
1130 sel->dport = htons(sel->dport);
1131 if (sel->dport)
1155 if (get_u16(&sel->dport, *argv, 0) ||
1156 (sel->dport & ~((__u16)0xff)))
1158 sel->dport = htons(sel->dport);
1182 fprintf(stderr, "\"sport\" and \"dport\" are invalid with proto=%s\n", strxf_proto(sel->proto));