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

/freebsd-10-stable/usr.sbin/ppp/
H A Dncp.h29 struct port_range { struct
41 struct port_range tcp, udp; /* The range of urgent ports */
68 extern int ncp_IsUrgentPort(struct port_range *, u_short, u_short);
69 extern void ncp_AddUrgentPort(struct port_range *, u_short);
70 extern void ncp_RemoveUrgentPort(struct port_range *, u_short);
71 extern void ncp_ClearUrgentPorts(struct port_range *);
H A Dncp.c371 ncp_IsUrgentPort(struct port_range *range, u_short src, u_short dst)
383 ncp_AddUrgentPort(struct port_range *range, u_short port)
418 ncp_RemoveUrgentPort(struct port_range *range, u_short port)
436 ncp_ClearUrgentPorts(struct port_range *range)
/freebsd-10-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 (const 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)
1952 int StrToAddrAndPortRange (const char* str, struct in_addr* addr, char* proto, port_range *portRange)
/freebsd-10-stable/sbin/ipfw/
H A Dnat.c181 #define port_range u_long macro
187 /* Set y to be the low-port value in port_range variable x. */
190 /* Set y to be the number of ports in port_range variable x. */
209 StrToPortRange (const char* str, const char* proto, port_range *portRange)
268 port_range *portRange)
404 port_range portRange;

Completed in 65 milliseconds