Searched refs:port_range (Results 1 - 4 of 4) sorted by relevance

/freebsd-12-stable/usr.sbin/ppp/
H A Dncp.h31 struct port_range { struct
43 struct port_range tcp, udp; /* The range of urgent ports */
71 extern int ncp_IsUrgentPort(struct port_range *, u_short, u_short);
74 extern void ncp_AddUrgentPort(struct port_range *, u_short);
75 extern void ncp_RemoveUrgentPort(struct port_range *, u_short);
76 extern void ncp_ClearUrgentPorts(struct port_range *);
H A Dncp.c373 ncp_IsUrgentPort(struct port_range *range, u_short src, u_short dst)
385 ncp_AddUrgentPort(struct port_range *range, u_short port)
420 ncp_RemoveUrgentPort(struct port_range *range, u_short port)
438 ncp_ClearUrgentPorts(struct port_range *range)
/freebsd-12-stable/sbin/natd/
H A Dnatd.c91 typedef u_long port_range; typedef
97 /* Set y to be the low-port value in port_range variable x. */
100 /* Set y to be the number of ports in port_range variable x. */
125 static int StrToPortRange (const char* str, const char* proto, port_range *portRange);
127 static int StrToAddrAndPortRange (char* str, struct in_addr* addr, char* proto, port_range *portRange);
1617 port_range portRange;
1897 int StrToPortRange (const char* str, const char* proto, port_range *portRange)
1954 StrToAddrAndPortRange (char* str, struct in_addr* addr, char* proto, port_range *portRange)
/freebsd-12-stable/sbin/ipfw/
H A Dnat.c68 { "port_range", TOK_PORT_ALIAS },
189 #define port_range u_long macro
195 /* Set y to be the low-port value in port_range variable x. */
198 /* Set y to be the number of ports in port_range variable x. */
217 StrToPortRange (const char* str, const char* proto, port_range *portRange)
276 port_range *portRange)
412 port_range portRange;
970 errx(EX_DATAERR, "same_ports and port_range cannot both be selected");

Completed in 63 milliseconds