Home
last modified time | relevance | path

Searched refs:port_match (Results 1 – 5 of 5) sorted by relevance

/linux-2.4.37.9/net/ipv6/
Dip6_fw.c111 static __inline__ int port_match(int rl_port, int fl_port) in port_match() function
185 port_match(args->fl_u.fl_o.flow->uli_u.ports.sport, sport) && in ip6_fw_accept_trans()
186 port_match(args->fl_u.fl_o.flow->uli_u.ports.dport, dport)) { in ip6_fw_accept_trans()
/linux-2.4.37.9/net/ipv4/netfilter/
Dipfwadm_core.c189 extern inline int port_match(unsigned short *portptr,int nports,unsigned short port,int range_flag) in port_match() function
563 ! port_match(&f->fw_pts[0], f->fw_nsp, in ip_fw_chk()
566 port_match(&f->fw_pts[0], f->fw_nsp, src_port, in ip_fw_chk()
568 port_match(&f->fw_pts[f->fw_nsp], f->fw_ndp, dst_port, in ip_fw_chk()
570 port_match(&f->fw_pts[0], f->fw_nsp, dst_port, in ip_fw_chk()
572 port_match(&f->fw_pts[f->fw_nsp], f->fw_ndp, src_port, in ip_fw_chk()
Dip_tables.c1465 port_match(u_int16_t min, u_int16_t max, u_int16_t port, int invert) in port_match() function
1538 && port_match(tcpinfo->spts[0], tcpinfo->spts[1], in tcp_match()
1541 && port_match(tcpinfo->dpts[0], tcpinfo->dpts[1], in tcp_match()
1595 && port_match(udpinfo->spts[0], udpinfo->spts[1], in udp_match()
1598 && port_match(udpinfo->dpts[0], udpinfo->dpts[1], in udp_match()
Dipchains_core.c272 extern inline int port_match(__u16 min, __u16 max, __u16 port, in port_match() function
364 if (!port_match(f->ipfw.fw_spts[0], in ip_rule_match()
368 || !port_match(f->ipfw.fw_dpts[0], in ip_rule_match()
/linux-2.4.37.9/net/ipv6/netfilter/
Dip6_tables.c1546 port_match(u_int16_t min, u_int16_t max, u_int16_t port, int invert) in port_match() function
1619 && port_match(tcpinfo->spts[0], tcpinfo->spts[1], in tcp_match()
1622 && port_match(tcpinfo->dpts[0], tcpinfo->dpts[1], in tcp_match()
1676 && port_match(udpinfo->spts[0], udpinfo->spts[1], in udp_match()
1679 && port_match(udpinfo->dpts[0], udpinfo->dpts[1], in udp_match()