Home | History | Annotate | Download | only in ip

Lines Matching full:sport

478 			fprintf(fp, "sport %u ", ntohs(sel->sport));
484 /* type/code is stored at sport/dport in selector */
486 fprintf(fp, "type %u ", ntohs(sel->sport));
493 (((__u32)ntohs(sel->sport)) << 16) +
498 fprintf(fp, "type %u ", ntohs(sel->sport));
760 fprintf(fp, "sport %u ", ntohs(e->encap_sport));
1178 } else if (strcmp(*argv, "sport") == 0) {
1183 if (get_u16(&sel->sport, *argv, 0))
1185 sel->sport = htons(sel->sport);
1186 if (sel->sport)
1209 if (get_u16(&sel->sport, *argv, 0) ||
1210 (sel->sport & ~((__u16)0xff)))
1212 sel->sport = htons(sel->sport);
1247 sel->sport = htons(uval >> 16);
1273 fprintf(stderr, "\"sport\" and \"dport\" are invalid with proto=%s\n", strxf_proto(sel->proto));