Home
last modified time | relevance | path

Searched refs:spts (Results 1 – 7 of 7) sorted by relevance

/third_party/iptables/extensions/
Dlibxt_udp.c28 .flags = XTOPT_INVERT | XTOPT_PUT, XTOPT_POINTER(s, spts)},
30 .flags = XTOPT_INVERT | XTOPT_PUT, XTOPT_POINTER(s, spts)},
43 udpinfo->spts[1] = udpinfo->dpts[1] = 0xFFFF; in udp_init()
111 print_ports("spt", udp->spts[0], udp->spts[1], in udp_print()
126 if (udpinfo->spts[0] != 0 in udp_save()
127 || udpinfo->spts[1] != 0xFFFF) { in udp_save()
130 if (udpinfo->spts[0] in udp_save()
131 != udpinfo->spts[1]) in udp_save()
133 udpinfo->spts[0], in udp_save()
134 udpinfo->spts[1]); in udp_save()
[all …]
Dlibxt_tcp.c132 tcpinfo->spts[1] = tcpinfo->dpts[1] = 0xFFFF; in tcp_init()
151 parse_tcp_ports(optarg, tcpinfo->spts); in tcp_parse()
298 print_ports("spt", tcp->spts[0], tcp->spts[1], in tcp_print()
319 if (tcpinfo->spts[0] != 0 in tcp_save()
320 || tcpinfo->spts[1] != 0xFFFF) { in tcp_save()
323 if (tcpinfo->spts[0] in tcp_save()
324 != tcpinfo->spts[1]) in tcp_save()
326 tcpinfo->spts[0], in tcp_save()
327 tcpinfo->spts[1]); in tcp_save()
330 tcpinfo->spts[0]); in tcp_save()
[all …]
Dlibxt_dccp.c49 .flags = XTOPT_INVERT | XTOPT_PUT, XTOPT_POINTER(s, spts)},
51 .flags = XTOPT_INVERT | XTOPT_PUT, XTOPT_POINTER(s, spts)},
229 print_ports("spt", einfo->spts[0], einfo->spts[1], in dccp_print()
260 if (einfo->spts[0] != einfo->spts[1]) in dccp_save()
262 einfo->spts[0], einfo->spts[1]); in dccp_save()
264 printf(" --sport %u", einfo->spts[0]); in dccp_save()
352 einfo->spts[0]); in dccp_xlate()
354 if (einfo->spts[0] != einfo->spts[1]) in dccp_xlate()
355 xt_xlate_add(xl, "-%u", einfo->spts[1]); in dccp_xlate()
Dlibxt_sctp.c260 parse_sctp_ports(optarg, einfo->spts); in sctp_parse()
433 print_ports("spt", einfo->spts[0], einfo->spts[1], in sctp_print()
462 if (einfo->spts[0] != einfo->spts[1]) in sctp_save()
464 einfo->spts[0], einfo->spts[1]); in sctp_save()
466 printf(" --sport %u", einfo->spts[0]); in sctp_save()
501 if (einfo->spts[0] != einfo->spts[1]) in sctp_xlate()
504 einfo->spts[0], einfo->spts[1]); in sctp_xlate()
508 einfo->spts[0]); in sctp_xlate()
/third_party/iptables/include/linux/netfilter/
Dxt_tcpudp.h8 __u16 spts[2]; /* Source port range. */ member
25 __u16 spts[2]; /* Source port range. */ member
Dxt_dccp.h15 __u16 spts[2]; /* Min, Max */ member
Dxt_sctp.h22 __u16 spts[2]; /* Min, Max */ member