Home
last modified time | relevance | path

Searched refs:parse_port (Results 1 – 13 of 13) sorted by relevance

/external/iptables/extensions/
Dlibipt_udp.c42 ports[0] = ports[1] = parse_port(buffer, "udp"); in parse_udp_ports()
47 ports[0] = buffer[0] ? parse_port(buffer, "udp") : 0; in parse_udp_ports()
48 ports[1] = cp[0] ? parse_port(cp, "udp") : 0xFFFF; in parse_udp_ports()
Dlibip6t_udp.c41 ports[0] = ports[1] = parse_port(buffer, "udp"); in parse_udp_ports()
46 ports[0] = buffer[0] ? parse_port(buffer, "udp") : 0; in parse_udp_ports()
47 ports[1] = cp[0] ? parse_port(cp, "udp") : 0xFFFF; in parse_udp_ports()
Dlibipt_dccp.c69 ports[0] = ports[1] = parse_port(buffer, "dccp"); in parse_dccp_ports()
75 ports[0] = buffer[0] ? parse_port(buffer, "dccp") : 0; in parse_dccp_ports()
76 ports[1] = cp[0] ? parse_port(cp, "dccp") : 0xFFFF; in parse_dccp_ports()
Dlibipt_tcp.c50 ports[0] = ports[1] = parse_port(buffer, "tcp"); in parse_tcp_ports()
55 ports[0] = buffer[0] ? parse_port(buffer, "tcp") : 0; in parse_tcp_ports()
56 ports[1] = cp[0] ? parse_port(cp, "tcp") : 0xFFFF; in parse_tcp_ports()
Dlibip6t_tcp.c49 ports[0] = ports[1] = parse_port(buffer, "tcp"); in parse_tcp_ports()
54 ports[0] = buffer[0] ? parse_port(buffer, "tcp") : 0; in parse_tcp_ports()
55 ports[1] = cp[0] ? parse_port(cp, "tcp") : 0xFFFF; in parse_tcp_ports()
Dlibipt_multiport.c87 ports[i] = parse_port(cp, proto); in parse_multi_ports()
119 multiinfo->ports[i] = parse_port(cp, proto); in parse_multi_ports_v1()
122 multiinfo->ports[++i] = parse_port(range, proto); in parse_multi_ports_v1()
Dlibip6t_multiport.c84 ports[i] = parse_port(cp, proto); in parse_multi_ports()
116 multiinfo->ports[i] = parse_port(cp, proto); in parse_multi_ports_v1()
119 multiinfo->ports[++i] = parse_port(range, proto); in parse_multi_ports_v1()
Dlibipt_sctp.c93 ports[0] = ports[1] = parse_port(buffer, "sctp"); in parse_sctp_ports()
99 ports[0] = buffer[0] ? parse_port(buffer, "sctp") : 0; in parse_sctp_ports()
100 ports[1] = cp[0] ? parse_port(cp, "sctp") : 0xFFFF; in parse_sctp_ports()
Dlibip6t_sctp.c92 ports[0] = ports[1] = parse_port(buffer, "sctp"); in parse_sctp_ports()
98 ports[0] = buffer[0] ? parse_port(buffer, "sctp") : 0; in parse_sctp_ports()
99 ports[1] = cp[0] ? parse_port(cp, "sctp") : 0xFFFF; in parse_sctp_ports()
/external/iptables/include/
Dip6tables.h155 extern u_int16_t parse_port(const char *port, const char *proto);
Diptables.h158 extern u_int16_t parse_port(const char *port, const char *proto);
/external/iptables/
Diptables.c268 parse_port(const char *port, const char *proto) in parse_port() function
Dip6tables.c263 parse_port(const char *port, const char *proto) in parse_port() function