Lines Matching refs:sport
477 fprintf(fp, "sport %u ", ntohs(sel->sport));
483 /* type/code is stored at sport/dport in selector */
485 fprintf(fp, "type %u ", ntohs(sel->sport));
491 fprintf(fp, "type %u ", ntohs(sel->sport));
728 fprintf(fp, "sport %u ", ntohs(e->encap_sport));
1110 } else if (strcmp(*argv, "sport") == 0) {
1115 if (get_u16(&sel->sport, *argv, 0))
1117 sel->sport = htons(sel->sport);
1118 if (sel->sport)
1141 if (get_u16(&sel->sport, *argv, 0) ||
1142 (sel->sport & ~((__u16)0xff)))
1144 sel->sport = htons(sel->sport);
1182 fprintf(stderr, "\"sport\" and \"dport\" are invalid with proto=%s\n", strxf_proto(sel->proto));