Searched refs:eport (Results 1 - 25 of 96) sorted by relevance

1234

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/miniupnpd/ipf/
H A Dipfrdr.h13 add_redirect_rule2(const char * ifname, const char * rhost, unsigned short eport,
19 unsigned short eport, unsigned short iport,
28 get_redirect_rule(const char * ifname, unsigned short eport, int proto,
35 char * ifname, unsigned short * eport,
44 delete_redirect_rule(const char * ifname, unsigned short eport, int proto);
49 delete_filter_rule(const char * ifname, unsigned short eport, int proto);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/miniupnpd/ipfw/
H A Dipfwrdr.h18 unsigned short eport, /* src port (external) */
29 unsigned short eport,
42 unsigned short eport,
55 unsigned short * eport,
70 int delete_redirect_rule(const char * ifname, unsigned short eport, int proto);
75 int delete_filter_rule(const char * ifname, unsigned short eport, int proto);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/miniupnpd/ipf/
H A Dipfrdr.h13 add_redirect_rule2(const char * ifname, const char * rhost, unsigned short eport,
19 unsigned short eport, unsigned short iport,
28 get_redirect_rule(const char * ifname, unsigned short eport, int proto,
35 char * ifname, unsigned short * eport,
44 delete_redirect_rule(const char * ifname, unsigned short eport, int proto);
49 delete_filter_rule(const char * ifname, unsigned short eport, int proto);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/miniupnpd/ipfw/
H A Dipfwrdr.h18 unsigned short eport, /* src port (external) */
29 unsigned short eport,
42 unsigned short eport,
55 unsigned short * eport,
70 int delete_redirect_rule(const char * ifname, unsigned short eport, int proto);
75 int delete_filter_rule(const char * ifname, unsigned short eport, int proto);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/miniupnpd/ipf/
H A Dipfrdr.h13 add_redirect_rule2(const char * ifname, const char * rhost, unsigned short eport,
19 unsigned short eport, unsigned short iport,
28 get_redirect_rule(const char * ifname, unsigned short eport, int proto,
35 char * ifname, unsigned short * eport,
44 delete_redirect_rule(const char * ifname, unsigned short eport, int proto);
49 delete_filter_rule(const char * ifname, unsigned short eport, int proto);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/miniupnpd/ipfw/
H A Dipfwrdr.h18 unsigned short eport, /* src port (external) */
29 unsigned short eport,
42 unsigned short eport,
55 unsigned short * eport,
70 int delete_redirect_rule(const char * ifname, unsigned short eport, int proto);
75 int delete_filter_rule(const char * ifname, unsigned short eport, int proto);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/miniupnpc/
H A Dtestupnpigd.py54 eport = httpd.server_port variable
57 r = u.getspecificportmapping(eport, 'TCP')
58 while r != None and eport < 65536:
59 eport = eport + 1
60 r = u.getspecificportmapping(eport, 'TCP')
62 print 'trying to redirect %s port %u TCP => %s port %u TCP' % (externalipaddress, eport, u.lanaddr, httpd.server_port)
64 b = u.addportmapping(eport, 'TCP', u.lanaddr, httpd.server_port,
65 'UPnP IGD Tester port %u' % eport, '')
67 print 'Success. Now waiting for some HTTP request on http://%s:%u' % (externalipaddress ,eport)
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/miniupnpc/
H A Dtestupnpigd.py54 eport = httpd.server_port variable
57 r = u.getspecificportmapping(eport, 'TCP')
58 while r != None and eport < 65536:
59 eport = eport + 1
60 r = u.getspecificportmapping(eport, 'TCP')
62 print 'trying to redirect %s port %u TCP => %s port %u TCP' % (externalipaddress, eport, u.lanaddr, httpd.server_port)
64 b = u.addportmapping(eport, 'TCP', u.lanaddr, httpd.server_port,
65 'UPnP IGD Tester port %u' % eport, '')
67 print 'Success. Now waiting for some HTTP request on http://%s:%u' % (externalipaddress ,eport)
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/miniupnpc/
H A Dtestupnpigd.py54 eport = httpd.server_port variable
57 r = u.getspecificportmapping(eport, 'TCP')
58 while r != None and eport < 65536:
59 eport = eport + 1
60 r = u.getspecificportmapping(eport, 'TCP')
62 print 'trying to redirect %s port %u TCP => %s port %u TCP' % (externalipaddress, eport, u.lanaddr, httpd.server_port)
64 b = u.addportmapping(eport, 'TCP', u.lanaddr, httpd.server_port,
65 'UPnP IGD Tester port %u' % eport, '')
67 print 'Success. Now waiting for some HTTP request on http://%s:%u' % (externalipaddress ,eport)
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/miniupnpd/
H A Dupnpredirect.h29 upnp_redirect(const char * rhost, unsigned short eport,
37 upnp_redirect_internal(const char * rhost, unsigned short eport,
46 upnp_get_redirection_infos(unsigned short eport, const char * protocol,
57 unsigned short * eport, char * protocol,
68 upnp_delete_redirection(unsigned short eport, const char * protocol);
73 _upnp_delete_redir(unsigned short eport, int proto);
82 unsigned short eport; member in struct:rule_state
H A Dupnpredirect.c65 lease_file_add(unsigned short eport, argument
83 ((proto==IPPROTO_TCP)?"TCP":"UDP"), eport, iaddr, iport,
91 lease_file_remove(unsigned short eport, int proto) argument
116 snprintf( str, sizeof(str), "%s:%u", ((proto==IPPROTO_TCP)?"TCP":"UDP"), eport);
155 unsigned short eport, iport; local
192 eport = (unsigned short)atoi(p);
234 r = upnp_redirect(rhost, eport, iaddr, iport, proto, desc, leaseduration);
237 eport, iaddr, iport, proto);
240 lease_file_add(eport, iaddr, iport, proto_atoi(proto),
259 upnp_redirect(const char * rhost, unsigned short eport, argument
324 upnp_redirect_internal(const char * rhost, unsigned short eport, const char * iaddr, unsigned short iport, int proto, const char * desc, unsigned int timestamp) argument
364 upnp_get_redirection_infos(unsigned short eport, const char * protocol, unsigned short * iport, char * iaddr, int iaddrlen, char * desc, int desclen, char * rhost, int rhostlen, unsigned int * leaseduration) argument
394 upnp_get_redirection_infos_by_index(int index, unsigned short * eport, char * protocol, unsigned short * iport, char * iaddr, int iaddrlen, char * desc, int desclen, char * rhost, int rhostlen, unsigned int * leaseduration) argument
432 _upnp_delete_redir(unsigned short eport, int proto) argument
454 upnp_delete_redirection(unsigned short eport, const char * protocol) argument
466 unsigned short eport, iport; local
633 unsigned short eport, iport; local
[all...]
H A Dtestportinuse.c31 unsigned eport;
37 fprintf(stderr, "usage: %s if_name eport (tcp|udp) iaddr iport\n",
43 eport = (unsigned)atoi(argv[2]);
48 r = port_in_use(if_name, eport, proto, iaddr, iport);
50 if_name, eport, proto, iaddr, iport, r);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/miniupnpd/
H A Dupnpredirect.h29 upnp_redirect(const char * rhost, unsigned short eport,
37 upnp_redirect_internal(const char * rhost, unsigned short eport,
46 upnp_get_redirection_infos(unsigned short eport, const char * protocol,
57 unsigned short * eport, char * protocol,
68 upnp_delete_redirection(unsigned short eport, const char * protocol);
73 _upnp_delete_redir(unsigned short eport, int proto);
82 unsigned short eport; member in struct:rule_state
H A Dupnpredirect.c65 lease_file_add(unsigned short eport, argument
83 ((proto==IPPROTO_TCP)?"TCP":"UDP"), eport, iaddr, iport,
91 lease_file_remove(unsigned short eport, int proto) argument
116 snprintf( str, sizeof(str), "%s:%u", ((proto==IPPROTO_TCP)?"TCP":"UDP"), eport);
155 unsigned short eport, iport; local
192 eport = (unsigned short)atoi(p);
234 r = upnp_redirect(rhost, eport, iaddr, iport, proto, desc, leaseduration);
237 eport, iaddr, iport, proto);
240 lease_file_add(eport, iaddr, iport, proto_atoi(proto),
259 upnp_redirect(const char * rhost, unsigned short eport, argument
324 upnp_redirect_internal(const char * rhost, unsigned short eport, const char * iaddr, unsigned short iport, int proto, const char * desc, unsigned int timestamp) argument
364 upnp_get_redirection_infos(unsigned short eport, const char * protocol, unsigned short * iport, char * iaddr, int iaddrlen, char * desc, int desclen, char * rhost, int rhostlen, unsigned int * leaseduration) argument
394 upnp_get_redirection_infos_by_index(int index, unsigned short * eport, char * protocol, unsigned short * iport, char * iaddr, int iaddrlen, char * desc, int desclen, char * rhost, int rhostlen, unsigned int * leaseduration) argument
432 _upnp_delete_redir(unsigned short eport, int proto) argument
454 upnp_delete_redirection(unsigned short eport, const char * protocol) argument
466 unsigned short eport, iport; local
633 unsigned short eport, iport; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/miniupnpd/
H A Dupnpredirect.h29 upnp_redirect(const char * rhost, unsigned short eport,
37 upnp_redirect_internal(const char * rhost, unsigned short eport,
46 upnp_get_redirection_infos(unsigned short eport, const char * protocol,
57 unsigned short * eport, char * protocol,
68 upnp_delete_redirection(unsigned short eport, const char * protocol);
73 _upnp_delete_redir(unsigned short eport, int proto);
82 unsigned short eport; member in struct:rule_state
H A Dupnpredirect.c65 lease_file_add(unsigned short eport, argument
83 ((proto==IPPROTO_TCP)?"TCP":"UDP"), eport, iaddr, iport,
91 lease_file_remove(unsigned short eport, int proto) argument
116 snprintf( str, sizeof(str), "%s:%u", ((proto==IPPROTO_TCP)?"TCP":"UDP"), eport);
155 unsigned short eport, iport; local
192 eport = (unsigned short)atoi(p);
234 r = upnp_redirect(rhost, eport, iaddr, iport, proto, desc, leaseduration);
237 eport, iaddr, iport, proto);
240 lease_file_add(eport, iaddr, iport, proto_atoi(proto),
259 upnp_redirect(const char * rhost, unsigned short eport, argument
324 upnp_redirect_internal(const char * rhost, unsigned short eport, const char * iaddr, unsigned short iport, int proto, const char * desc, unsigned int timestamp) argument
364 upnp_get_redirection_infos(unsigned short eport, const char * protocol, unsigned short * iport, char * iaddr, int iaddrlen, char * desc, int desclen, char * rhost, int rhostlen, unsigned int * leaseduration) argument
394 upnp_get_redirection_infos_by_index(int index, unsigned short * eport, char * protocol, unsigned short * iport, char * iaddr, int iaddrlen, char * desc, int desclen, char * rhost, int rhostlen, unsigned int * leaseduration) argument
432 _upnp_delete_redir(unsigned short eport, int proto) argument
454 upnp_delete_redirection(unsigned short eport, const char * protocol) argument
466 unsigned short eport, iport; local
633 unsigned short eport, iport; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/miniupnpd/pf/
H A Dobsdrdr.h18 const char * rhost, unsigned short eport,
28 unsigned short eport, unsigned short iport,
37 get_redirect_rule(const char * ifname, unsigned short eport, int proto,
44 char * ifname, unsigned short * eport,
53 delete_redirect_rule(const char * ifname, unsigned short eport, int proto);
58 delete_redirect_and_filter_rules(const char * ifname, unsigned short eport,
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/miniupnpd/pf/
H A Dobsdrdr.h18 const char * rhost, unsigned short eport,
28 unsigned short eport, unsigned short iport,
37 get_redirect_rule(const char * ifname, unsigned short eport, int proto,
44 char * ifname, unsigned short * eport,
53 delete_redirect_rule(const char * ifname, unsigned short eport, int proto);
58 delete_redirect_and_filter_rules(const char * ifname, unsigned short eport,
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/miniupnpd/pf/
H A Dobsdrdr.h18 const char * rhost, unsigned short eport,
28 unsigned short eport, unsigned short iport,
37 get_redirect_rule(const char * ifname, unsigned short eport, int proto,
44 char * ifname, unsigned short * eport,
53 delete_redirect_rule(const char * ifname, unsigned short eport, int proto);
58 delete_redirect_and_filter_rules(const char * ifname, unsigned short eport,
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/miniupnpd/netfilter_nft/
H A Dnftnlrdr.h19 const char * rhost, unsigned short eport,
26 const char * eaddr, unsigned short eport,
33 unsigned short eport, unsigned short iport,
37 delete_redirect_and_filter_rules(unsigned short eport, int proto);
48 char * ifname, unsigned short * eport,
56 unsigned short eport, int proto,
64 char * ifname, unsigned short * eport,
H A Dtestnftnlrdr.c28 addnatrule(int proto, unsigned short eport, argument
32 return add_redirect_rule2(NULL, rhost, eport, iaddr, iport, proto, NULL, 0);
38 unsigned short eport, iport; local
46 eport = (unsigned short)atoi(argv[1]);
49 printf("trying to redirect port %hu to %s:%hu\n", eport, iaddr, iport);
50 if(addnatrule(IPPROTO_TCP, eport, iaddr, iport, NULL) < 0) {
89 delete_redirect_and_filter_rules(eport, IPPROTO_TCP);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/miniupnpd/netfilter_nft/
H A Dnftnlrdr.h19 const char * rhost, unsigned short eport,
26 const char * eaddr, unsigned short eport,
33 unsigned short eport, unsigned short iport,
37 delete_redirect_and_filter_rules(unsigned short eport, int proto);
48 char * ifname, unsigned short * eport,
56 unsigned short eport, int proto,
64 char * ifname, unsigned short * eport,
H A Dtestnftnlrdr.c28 addnatrule(int proto, unsigned short eport, argument
32 return add_redirect_rule2(NULL, rhost, eport, iaddr, iport, proto, NULL, 0);
38 unsigned short eport, iport; local
46 eport = (unsigned short)atoi(argv[1]);
49 printf("trying to redirect port %hu to %s:%hu\n", eport, iaddr, iport);
50 if(addnatrule(IPPROTO_TCP, eport, iaddr, iport, NULL) < 0) {
89 delete_redirect_and_filter_rules(eport, IPPROTO_TCP);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/miniupnpd/netfilter_nft/
H A Dnftnlrdr.h19 const char * rhost, unsigned short eport,
26 const char * eaddr, unsigned short eport,
33 unsigned short eport, unsigned short iport,
37 delete_redirect_and_filter_rules(unsigned short eport, int proto);
48 char * ifname, unsigned short * eport,
56 unsigned short eport, int proto,
64 char * ifname, unsigned short * eport,
H A Dtestnftnlrdr.c28 addnatrule(int proto, unsigned short eport, argument
32 return add_redirect_rule2(NULL, rhost, eport, iaddr, iport, proto, NULL, 0);
38 unsigned short eport, iport; local
46 eport = (unsigned short)atoi(argv[1]);
49 printf("trying to redirect port %hu to %s:%hu\n", eport, iaddr, iport);
50 if(addnatrule(IPPROTO_TCP, eport, iaddr, iport, NULL) < 0) {
89 delete_redirect_and_filter_rules(eport, IPPROTO_TCP);

Completed in 177 milliseconds

1234