Searched refs:ttl (Results 1 - 25 of 144) sorted by relevance

123456

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv4/netfilter/
H A Dipt_ttl.c27 const u8 ttl = ip_hdr(skb)->ttl; local
31 return (ttl == info->ttl);
34 return (!(ttl == info->ttl));
37 return (ttl < info->ttl);
40 return (ttl > info->ttl);
[all...]
H A Dipt_TTL.c39 new_ttl = info->ttl;
42 new_ttl = iph->ttl + info->ttl;
47 new_ttl = iph->ttl - info->ttl;
52 new_ttl = iph->ttl;
56 if (new_ttl != iph->ttl) {
57 nf_csum_replace2(&iph->check, htons(iph->ttl << 8),
59 iph->ttl = new_ttl;
78 if ((info->mode != IPT_TTL_SET) && (info->ttl
[all...]
H A Dipt_recent.c58 u_int8_t ttl; member in struct:recent_entry
98 recent_entry_lookup(const struct recent_table *table, __be32 addr, u_int8_t ttl) argument
105 if (e->addr == addr && (ttl == e->ttl || !ttl || !e->ttl))
119 recent_entry_init(struct recent_table *t, __be32 addr, u_int8_t ttl) argument
132 e->ttl = ttl;
182 u_int8_t ttl; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iptables-1.4.12.1/include/linux/netfilter_ipv4/
H A Dipt_TTL.h17 u_int8_t ttl; member in struct:ipt_TTL_info
H A Dipt_ttl.h17 u_int8_t ttl; member in struct:ipt_ttl_info
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/um/drivers/
H A Dmcast.h12 int ttl; member in struct:mcast_data
H A Dmcast_kern.c26 int ttl; member in struct:mcast_init
39 dpri->ttl = init->ttl;
44 dpri->addr, dpri->port, dpri->ttl);
80 .ttl = 1 });
100 init->ttl = simple_strtoul(ttl_str, &last, 10);
102 printk(KERN_ERR "mcast_setup - Bad ttl : '%s'\n",
109 init->port, init->ttl);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/netfilter_ipv4/
H A Dipt_TTL.h17 u_int8_t ttl; member in struct:ipt_TTL_info
H A Dipt_ttl.h17 u_int8_t ttl; member in struct:ipt_ttl_info
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/iptables-1.x/include/linux/netfilter_ipv4/
H A Dipt_TTL.h17 u_int8_t ttl; member in struct:ipt_TTL_info
H A Dipt_ttl.h17 u_int8_t ttl; member in struct:ipt_ttl_info
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavformat/
H A Dsdp.c39 int ttl; /**< TTL, in case of multicast stream */ member in struct:sdp_session_level
46 static void sdp_write_address(char *buff, int size, const char *dest_addr, int ttl) argument
49 if (ttl > 0) {
50 av_strlcatf(buff, size, "c=IN IP4 %s/%d\r\n", dest_addr, ttl);
68 sdp_write_address(buff, size, s->dst_addr, s->ttl);
71 static int sdp_get_address(char *dest_addr, int size, int *ttl, const char *url) argument
78 *ttl = 0;
85 if (find_info_tag(buff, sizeof(buff), "ttl", p)) {
86 *ttl = strtol(buff, NULL, 10);
88 *ttl
231 sdp_write_media(char *buff, int size, AVCodecContext *c, const char *dest_addr, int port, int ttl) argument
261 int i, j, port, ttl; local
[all...]
H A Drtpproto.c100 int local_port, int ttl,
106 if (ttl >= 0)
107 url_add_option(buf, buf_size, "ttl=%d", ttl);
114 * option: 'ttl=n' : set the ttl value (for multicast only)
123 int port, is_output, ttl, local_port, max_packet_size; local
139 ttl = -1;
145 if (find_info_tag(buf, sizeof(buf), "ttl", p)) {
146 ttl
98 build_udp_url(char *buf, int buf_size, const char *hostname, int port, int local_port, int ttl, int max_packet_size) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/iptables-1.x/extensions/
H A Dlibipt_ttl.c21 " --ttl-eq value Match time to live value\n"
22 " --ttl-lt value Match TTL < value\n"
23 " --ttl-gt value Match TTL > value\n"
40 "ttl: Expected value between 0 and 255");
48 info->ttl = value;
53 "ttl: Expected value between 0 and 255");
57 "ttl: unexpected `!'");
60 info->ttl = value;
65 "ttl: Expected value between 0 and 255");
69 "ttl
154 static struct iptables_match ttl = { variable in typeref:struct:iptables_match
[all...]
H A Dlibipt_TTL.c27 " --ttl-set value Set TTL to <value 0-255>\n"
28 " --ttl-dec value Decrement TTL by <value 1-255>\n"
29 " --ttl-inc value Increment TTL by <value 1-255>\n"
86 info->ttl = value;
107 printf("--ttl-set ");
110 printf("--ttl-dec ");
114 printf("--ttl-inc ");
117 printf("%u ", info->ttl);
138 printf("%u ", info->ttl);
142 { "ttl
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iptables-1.4.12.1/extensions/
H A Dlibipt_ttl.c22 "ttl match options:\n"
23 "[!] --ttl-eq value Match time to live value\n"
24 " --ttl-lt value Match TTL < value\n"
25 " --ttl-gt value Match TTL > value\n");
51 "`--ttl-eq', `--ttl-lt', `--ttl-gt");
75 printf(" %u", info->ttl);
85 printf(" --ttl-eq");
88 printf(" ! --ttl
[all...]
H A Dlibipt_TTL.c22 {.name = "ttl-set", .type = XTTYPE_UINT8, .id = O_TTL_SET,
23 .excl = F_ANY, .flags = XTOPT_PUT, XTOPT_POINTER(s, ttl)},
24 {.name = "ttl-dec", .type = XTTYPE_UINT8, .id = O_TTL_DEC,
25 .excl = F_ANY, .flags = XTOPT_PUT, XTOPT_POINTER(s, ttl),
27 {.name = "ttl-inc", .type = XTTYPE_UINT8, .id = O_TTL_INC,
28 .excl = F_ANY, .flags = XTOPT_PUT, XTOPT_POINTER(s, ttl),
38 " --ttl-set value Set TTL to <value 0-255>\n"
39 " --ttl-dec value Decrement TTL by <value 1-255>\n"
40 " --ttl-inc value Increment TTL by <value 1-255>\n");
75 printf(" --ttl
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/nmbd/
H A Dnmbd_winsserver.c77 DEBUG(8,("update_wins_flag: nbflags: 0x%x, ttl: 0x%d, flags: 0x%x, winsflags: 0x%x\n",
106 static void wins_hook(const char *operation, struct name_record *namerec, int ttl) argument
134 ttl);
206 Utility function to decide what ttl to give a register/refresh request.
211 int ttl = nmb->additional->ttl; local
213 if(ttl < lp_min_wins_ttl() )
214 ttl = lp_min_wins_ttl();
216 if(ttl > lp_max_wins_ttl() )
217 ttl
250 int ttl; local
388 send_wins_wack_response(int ttl, struct packet_struct *p) argument
423 send_wins_name_registration_response(int rcode, int ttl, struct packet_struct *p) argument
452 int ttl = get_ttl_from_packet(nmb); local
752 int ttl = get_ttl_from_packet(nmb); local
1032 int ttl; local
1117 int ttl = get_ttl_from_packet(nmb); local
1431 int ttl = 0; local
[all...]
H A Dnmbd_nameregister.c49 int ttl = 0; local
118 rrec->repeat_time = p->timestamp + nmb->answers->ttl;
135 ttl = nmb->answers->ttl;
152 standard_success_register(subrec, rrec->userdata, answer_name, nb_flags, ttl, register_ip);
154 (*(register_name_success_function)rrec->success_fn)(subrec, rrec->userdata, answer_name, nb_flags, ttl, register_ip); local
205 int ttl = sent_nmb->additional->ttl; local
207 standard_success_register(subrec, userdata, nmbname, nb_flags, ttl, register_ip);
213 ttl,
256 int ttl = 0; local
282 (*(register_name_success_function)rrec->success_fn)(subrec, rrec->userdata, question_name, nb_flags, ttl, registered_ip); local
[all...]
H A Dnmbd_incomingdgrams.c99 int ttl = IVAL(buf,1)/1000; local
120 DEBUG(5,("process_host_announce: ttl=%d server type=%08x comment=%s\n",
121 ttl, servertype,comment));
161 if((work = create_workgroup_on_subnet(subrec, work_name, ttl))==NULL)
169 ttl, comment);
173 update_server_ttl( servrec, ttl);
200 int ttl = IVAL(buf,1)/1000; local
219 DEBUG(5,("process_workgroup_announce: ttl=%d server type=%08x master browser=%s\n",
220 ttl, servertype, master_name));
231 if((work = create_workgroup_on_subnet(subrec, workgroup_announce_name, ttl))
257 int ttl = IVAL(buf,1)/1000; local
427 int ttl = SVAL(buf,7); local
[all...]
H A Dnmbd_workgroupdb.c68 static struct work_record *create_workgroup(const char *name, int ttl) argument
94 work->death_time = (ttl != PERMANENT_TTL) ? time(NULL)+(ttl*3) : PERMANENT_TTL;
192 const char *name, int ttl)
199 if ((work = create_workgroup(name, ttl))) {
209 Update a workgroup ttl.
212 void update_workgroup_ttl(struct work_record *work, int ttl) argument
215 work->death_time = time(NULL)+(ttl*3);
191 create_workgroup_on_subnet(struct subnet_record *subrec, const char *name, int ttl) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/avahi-0.6.25/avahi-core/
H A Drr.h71 uint32_t ttl; /**< DNS TTL of this record */ member in struct:AvahiRecord
130 AvahiRecord *avahi_record_new(AvahiKey *k, uint32_t ttl);
133 AvahiRecord *avahi_record_new_full(const char *name, uint16_t clazz, uint16_t type, uint32_t ttl);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/dnsmasq-2.15/src/
H A Drfc1035.c406 unsigned long ttl, unsigned short pref,
415 PUTLONG(ttl, p); /* TTL */
446 unsigned long ttl, minttl = 0; local
466 GETLONG(ttl, p);
485 minttl = ttl;
487 else if (ttl < minttl)
488 minttl = ttl;
489 GETLONG(ttl, p); /* minTTL */
490 if (ttl < minttl)
491 minttl = ttl;
405 add_text_record(unsigned int nameoffset, unsigned char *p, unsigned long ttl, unsigned short pref, unsigned short type, char *name) argument
550 unsigned long ttl; local
724 setup_reply(HEADER *header, unsigned int qlen, struct all_addr *addrp, unsigned short flags, unsigned long ttl) argument
800 unsigned long ttl; local
988 unsigned long ttl; local
1055 unsigned long ttl; local
1184 unsigned long ttl; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/include/
H A Dmsdfs.h42 uint32 ttl; member in struct:_client_referral
50 uint32 ttl; /* how long should client cache referral */ member in struct:referral
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iptables-1.4.12.1/include/linux/netfilter/
H A Dxt_osf.h45 __u32 ttl; member in struct:xt_osf_info
70 __u8 ttl, df; member in struct:xt_osf_user_finger

Completed in 157 milliseconds

123456