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

/freebsd-11-stable/usr.sbin/ppp/
H A Dncp.h31 struct port_range { struct
43 struct port_range tcp, udp; /* The range of urgent ports */
70 extern int ncp_IsUrgentPort(struct port_range *, u_short, u_short);
71 extern void ncp_AddUrgentPort(struct port_range *, u_short);
72 extern void ncp_RemoveUrgentPort(struct port_range *, u_short);
73 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-11-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-11-stable/sbin/ipfw/
H A Dnat.c188 #define port_range u_long macro
194 /* Set y to be the low-port value in port_range variable x. */
197 /* Set y to be the number of ports in port_range variable x. */
216 StrToPortRange (const char* str, const char* proto, port_range *portRange)
275 port_range *portRange)
411 port_range portRange;

Completed in 175 milliseconds