Home
last modified time | relevance | path

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

/linux-4.4.14/include/uapi/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
/linux-4.4.14/net/netfilter/
Dxt_tcpudp.c97 if (!port_match(tcpinfo->spts[0], tcpinfo->spts[1], in tcp_mt()
150 return port_match(udpinfo->spts[0], udpinfo->spts[1], in udp_mt()
Dxt_dccp.c114 return DCCHECK(ntohs(dh->dccph_sport) >= info->spts[0] in dccp_mt()
115 && ntohs(dh->dccph_sport) <= info->spts[1], in dccp_mt()
Dxt_sctp.c137 return SCCHECK(ntohs(sh->source) >= info->spts[0] in sctp_mt()
138 && ntohs(sh->source) <= info->spts[1], in sctp_mt()