/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/macintosh/ |
H A D | therm_adt746x.c | 92 static void write_both_fan_speed(struct thermostat *th, int speed); 93 static void write_fan_speed(struct thermostat *th, int speed, int fan); 96 write_reg(struct thermostat* th, int reg, u8 data) argument 103 rc = i2c_master_send(&th->clt, (const char *)tmp, 2); 112 read_reg(struct thermostat* th, int reg) argument 118 rc = i2c_master_send(&th->clt, ®_addr, 1); 123 rc = i2c_master_recv(&th->clt, (char *)&data, 1); 145 struct thermostat* th; local 151 th = thermostat; 159 th 185 read_fan_speed(struct thermostat *th, u8 addr) argument 199 write_both_fan_speed(struct thermostat *th, int speed) argument 206 write_fan_speed(struct thermostat *th, int speed, int fan) argument 251 read_sensors(struct thermostat *th) argument 260 display_stats(struct thermostat *th) argument 279 update_fans_speed(struct thermostat *th) argument 336 struct thermostat* th = arg; local 361 set_limit(struct thermostat *th, int i) argument 374 struct thermostat* th; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/net/ |
H A D | tcp_ecn.h | 42 TCP_ECN_make_synack(struct request_sock *req, struct tcphdr *th) argument 45 th->ece = 1; 98 static inline void TCP_ECN_rcv_synack(struct tcp_sock *tp, struct tcphdr *th) argument 100 if ((tp->ecn_flags&TCP_ECN_OK) && (!th->ece || th->cwr)) 104 static inline void TCP_ECN_rcv_syn(struct tcp_sock *tp, struct tcphdr *th) argument 106 if ((tp->ecn_flags&TCP_ECN_OK) && (!th->ece || !th->cwr)) 110 static inline int TCP_ECN_rcv_ecn_echo(struct tcp_sock *tp, struct tcphdr *th) argument 112 if (th 124 TCP_ECN_create_request(struct request_sock *req, struct tcphdr *th) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/misc/ |
H A D | stats.pl | 98 [th('Board type').td($query->param('boardtype')), 99 th('Board number').td($query->param('boardnum')), 100 th('CPU clock').td($query->param('clkfreq')), 101 th('OS name').td($query->param('os_name')), 102 th('OS version').td($query->param('os_version')), 103 th('Uptime').td($query->param('uptime')), 105 th('WAN MAC address').td($query->param('wan_hwaddr')), 106 th('WAN IP address').td($query->param('wan_ipaddr')), 107 th('WAN protocol').td($query->param('wan_proto')), 108 th('WA [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/netfilter/ |
H A D | xt_tcpmss.c | 37 struct tcphdr _tcph, *th; local 43 th = skb_header_pointer(skb, protoff, sizeof(_tcph), &_tcph); 44 if (th == NULL) 48 if (th->doff*4 < sizeof(*th)) 51 optlen = th->doff*4 - sizeof(*th); 56 op = skb_header_pointer(skb, protoff + sizeof(*th), optlen, _opt);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ppp-2.4.4/modules/ |
H A D | vjcompress.c | 182 register struct tcphdr *th; local 197 th = (struct tcphdr *)&((int *)ip)[hlen]; 198 if ((th->th_flags & (TH_SYN|TH_FIN|TH_RST|TH_ACK)) != TH_ACK) 210 *(int *)th != ((int *)&cs->cs_ip)[getip_hl(cs->cs_ip)]) { 231 && *(int *)th == ((int *)&cs->cs_ip)[getip_hl(cs->cs_ip)]) 245 hlen += getth_off(*th); 269 * check is unnecessary but costless). The 4th line checks the TCP 270 * header length. The 5th line checks IP options, if any. The 6th 277 hlen += getth_off(*th); 484 register struct tcphdr *th; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/libvorbis-1.2.3/vq/ |
H A D | make_residue_books.pl | 89 my$th; 94 $th=$2; 99 if(defined($th)){ 101 $thlist.="-$th"; 107 if(defined($th)){ 109 $thlist.="$th";
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv4/netfilter/ |
H A D | ipt_ecn.c | 35 struct tcphdr _tcph, *th; local 40 th = skb_header_pointer(skb, ip_hdrlen(skb), sizeof(_tcph), &_tcph); 41 if (th == NULL) { 48 if (th->ece == 1) 51 if (th->ece == 0) 58 if (th->cwr == 1) 61 if (th->cwr == 0)
|
H A D | ipt_LOG.c | 99 struct tcphdr _tcph, *th; local 108 th = skb_header_pointer(skb, iphoff + ih->ihl * 4, 110 if (th == NULL) { 118 ntohs(th->source), ntohs(th->dest)); 122 ntohl(th->seq), ntohl(th->ack_seq)); 124 printk("WINDOW=%u ", ntohs(th->window)); 126 printk("RES=0x%02x ", (u8)(ntohl(tcp_flag_word(th) & TCP_RESERVED_BITS) >> 22)); 128 if (th [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv4/ |
H A D | syncookies.c | 124 const struct tcphdr *th = tcp_hdr(skb); local 137 th->source, th->dest, ntohl(th->seq), 155 const struct tcphdr *th = tcp_hdr(skb); local 156 __u32 seq = ntohl(th->seq) - 1; 158 th->source, th->dest, seq, 187 const struct tcphdr *th = tcp_hdr(skb); local 188 __u32 cookie = ntohl(th [all...] |
H A D | tcp_ipv4.c | 105 struct tcphdr *th, int protocol, 362 struct tcphdr *th = (struct tcphdr *)(skb->data + (iph->ihl << 2)); local 376 sk = inet_lookup(&tcp_hashinfo, iph->daddr, th->dest, iph->saddr, 377 th->source, inet_iif(skb)); 398 seq = ntohl(th->seq); 437 req = inet_csk_search_req(sk, &prev, th->dest, 510 struct tcphdr *th = tcp_hdr(skb); local 513 th->check = ~tcp_v4_check(len, inet->saddr, 518 th->check = tcp_v4_check(len, inet->saddr, inet->daddr, 519 csum_partial((char *)th, 528 struct tcphdr *th; local 559 struct tcphdr *th = tcp_hdr(skb); local 561 struct tcphdr th; member in struct:__anon10864 635 struct tcphdr *th = tcp_hdr(skb); local 637 struct tcphdr th; member in struct:__anon10865 760 struct tcphdr *th = tcp_hdr(skb); local 1026 tcp_v4_do_calc_md5_hash(char *md5_hash, struct tcp_md5sig_key *key, __be32 saddr, __be32 daddr, struct tcphdr *th, int protocol, int tcplen) argument 1112 tcp_v4_calc_md5_hash(char *md5_hash, struct tcp_md5sig_key *key, struct sock *sk, struct dst_entry *dst, struct request_sock *req, struct tcphdr *th, int protocol, int tcplen) argument 1150 struct tcphdr *th = tcp_hdr(skb); local 1497 struct tcphdr *th = tcp_hdr(skb); local 1628 struct tcphdr *th; local 2439 struct tcphdr *th = tcp_hdr(skb); local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/reiserfs/ |
H A D | namei.c | 187 // take bits from 7-th to 30-th including both bounds 419 static int reiserfs_add_entry(struct reiserfs_transaction_handle *th, argument 435 BUG_ON(!th->t_trans_id); 520 PROC_INFO_MAX(th->t_super, max_hash_collisions, gen_number); 539 reiserfs_paste_into_item(th, &path, &entry_key, dir, buffer, 552 reiserfs_update_sd(th, dir); 610 struct reiserfs_transaction_handle th; local 625 retval = journal_begin(&th, dir->i_sb, jbegin_count); 632 reiserfs_new_inode(&th, di 677 struct reiserfs_transaction_handle th; local 754 struct reiserfs_transaction_handle th; local 854 struct reiserfs_transaction_handle th; local 941 struct reiserfs_transaction_handle th; local 1037 struct reiserfs_transaction_handle th; local 1119 struct reiserfs_transaction_handle th; local 1230 struct reiserfs_transaction_handle th; local [all...] |
H A D | bitmap.c | 134 static int scan_bitmap_block(struct reiserfs_transaction_handle *th, argument 138 struct super_block *s = th->t_super; 144 BUG_ON(!th->t_trans_id); 225 journal_mark_dirty(th, s, bh); 232 journal_mark_dirty(th, s, SB_BUFFER_WITH_SB(s)); 310 static int scan_bitmap(struct reiserfs_transaction_handle *th, argument 315 struct super_block *s = th->t_super; 323 BUG_ON(!th->t_trans_id); 355 scan_bitmap_block(th, bm, &off, off_max, 366 scan_bitmap_block(th, b 380 _reiserfs_free_block(struct reiserfs_transaction_handle *th, struct inode *inode, b_blocknr_t block, int for_unformatted) argument 432 reiserfs_free_block(struct reiserfs_transaction_handle *th, struct inode *inode, b_blocknr_t block, int for_unformatted) argument 449 reiserfs_free_prealloc_block(struct reiserfs_transaction_handle *th, struct inode *inode, b_blocknr_t block) argument 460 __discard_prealloc(struct reiserfs_transaction_handle *th, struct reiserfs_inode_info *ei) argument 485 reiserfs_discard_prealloc(struct reiserfs_transaction_handle *th, struct inode *inode) argument 494 reiserfs_discard_all_prealloc(struct reiserfs_transaction_handle *th) argument [all...] |
H A D | stree.c | 541 // 'level'-th level 987 static char prepare_for_delete_or_cut(struct reiserfs_transaction_handle *th, struct inode *inode, struct treepath *p_s_path, const struct cpu_key *p_s_item_key, int *p_n_removed, /* Number of unformatted nodes which were removed argument 996 BUG_ON(!th->t_trans_id); 1049 reiserfs_transaction_free_space(th) < JOURNAL_FOR_FREE_BLOCK_AND_UPDATE_SD) { 1059 journal_mark_dirty (th, p_s_sb, p_s_bh); 1060 reiserfs_free_block(th, inode, block, 1); 1121 static void init_tb_struct(struct reiserfs_transaction_handle *th, argument 1127 BUG_ON(!th->t_trans_id); 1130 p_s_tb->transaction_handle = th; 1175 int reiserfs_delete_item(struct reiserfs_transaction_handle *th, struc argument 1319 reiserfs_delete_solid_item(struct reiserfs_transaction_handle *th, struct inode *inode, struct reiserfs_key *key) argument 1399 reiserfs_delete_object(struct reiserfs_transaction_handle *th, struct inode *inode) argument 1464 maybe_indirect_to_direct(struct reiserfs_transaction_handle *th, struct inode *p_s_inode, struct page *page, struct treepath *p_s_path, const struct cpu_key *p_s_item_key, loff_t n_new_file_size, char *p_c_mode) argument 1501 indirect_to_direct_roll_back(struct reiserfs_transaction_handle *th, struct inode *inode, struct treepath *path) argument 1543 reiserfs_cut_from_item(struct reiserfs_transaction_handle *th, struct treepath *p_s_path, struct cpu_key *p_s_item_key, struct inode *p_s_inode, struct page *page, loff_t n_new_file_size) argument 1739 truncate_directory(struct reiserfs_transaction_handle *th, struct inode *inode) argument 1757 reiserfs_do_truncate(struct reiserfs_transaction_handle *th, struct inode *p_s_inode, struct page *page, int update_timestamps ) argument 1950 reiserfs_paste_into_item(struct reiserfs_transaction_handle *th, struct treepath *p_s_search_path, const struct cpu_key *p_s_key, struct inode *inode, const char *p_c_body, int n_pasted_size) argument 2032 reiserfs_insert_item(struct reiserfs_transaction_handle *th, struct treepath *p_s_path, const struct cpu_key *key, struct item_head *p_s_ih, struct inode *inode, const char *p_c_body) argument [all...] |
H A D | objectid.c | 48 __u32 reiserfs_get_unused_objectid(struct reiserfs_transaction_handle *th) argument 50 struct super_block *s = th->t_super; 55 BUG_ON(!th->t_trans_id); 87 journal_mark_dirty(th, s, SB_BUFFER_WITH_SB(s)); 92 void reiserfs_release_objectid(struct reiserfs_transaction_handle *th, argument 95 struct super_block *s = th->t_super; 100 BUG_ON(!th->t_trans_id); 105 journal_mark_dirty(th, s, SB_BUFFER_WITH_SB(s));
|
H A D | inode.c | 31 struct reiserfs_transaction_handle th; local 42 if (journal_begin(&th, inode->i_sb, jbegin_count)) 46 err = reiserfs_delete_object(&th, inode); 54 if (journal_end(&th, inode->i_sb, jbegin_count)) 208 /*static*/ int restart_transaction(struct reiserfs_transaction_handle *th, argument 211 struct super_block *s = th->t_super; 212 int len = th->t_blocks_allocated; 215 BUG_ON(!th->t_trans_id); 216 BUG_ON(!th->t_refcount); 221 if (th 563 _allocate_block(struct reiserfs_transaction_handle *th, long block, struct inode *inode, b_blocknr_t * allocated_block_nr, struct treepath *path, int flags) argument 594 struct reiserfs_transaction_handle *th = NULL; local 1297 reiserfs_update_sd_size(struct reiserfs_transaction_handle *th, struct inode *inode, loff_t size) argument 1617 struct reiserfs_transaction_handle th; local 1640 reiserfs_new_directory(struct reiserfs_transaction_handle *th, struct inode *inode, struct item_head *ih, struct treepath *path, struct inode *dir) argument 1699 reiserfs_new_symlink(struct reiserfs_transaction_handle *th, struct inode *inode, struct item_head *ih, struct treepath *path, const char *symname, int item_len) argument 1746 reiserfs_new_inode(struct reiserfs_transaction_handle *th, struct inode *dir, int mode, const char *symname, loff_t i_size, struct dentry *dentry, struct inode *inode) argument 2067 struct reiserfs_transaction_handle th; local 2160 struct reiserfs_transaction_handle th; local 2325 struct reiserfs_transaction_handle th; local 2546 struct reiserfs_transaction_handle *th; local 2557 struct reiserfs_transaction_handle *th = current->journal_info; local 2597 struct reiserfs_transaction_handle *th = NULL; local 2898 struct reiserfs_transaction_handle th; local 2933 struct reiserfs_transaction_handle th; local [all...] |
H A D | file.c | 35 struct reiserfs_transaction_handle th; local 61 err = journal_begin(&th, inode->i_sb, 1); 68 err = journal_join_abort(&th, inode->i_sb, 1); 89 reiserfs_discard_prealloc(&th, inode); 91 err = journal_end(&th, inode->i_sb, 1); 161 static int reiserfs_allocate_blocks_for_region(struct reiserfs_transaction_handle *th, struct inode *inode, /* Inode we work with */ argument 217 res = journal_begin(th, inode->i_sb, JOURNAL_PER_BALANCE_CNT * 3 + 1 + 2 * REISERFS_QUOTA_TRANS_BLOCKS(inode->i_sb)); // Wish I know if this number enough 231 hint.th = th; // transaction handle. 249 res = restart_transaction(th, inod 767 struct reiserfs_transaction_handle th; local 826 reiserfs_submit_file_region_for_write(struct reiserfs_transaction_handle *th, struct inode *inode, loff_t pos, size_t num_pages, size_t write_bytes, struct page **prepared_pages ) argument 1291 struct reiserfs_transaction_handle th; local [all...] |
H A D | tail_conversion.c | 17 int direct2indirect(struct reiserfs_transaction_handle *th, struct inode *inode, argument 34 BUG_ON(!th->t_trans_id); 67 reiserfs_insert_item(th, path, &end_key, &ind_ih, inode, 71 n_retval = reiserfs_paste_into_item(th, path, &end_key, inode, 116 n_retval = reiserfs_delete_item(th, path, &end_key, inode, 173 int indirect2direct(struct reiserfs_transaction_handle *th, struct inode *p_s_inode, struct page *page, struct treepath *p_s_path, /* path to the indirect item. */ argument 186 BUG_ON(!th->t_trans_id); 248 if (reiserfs_insert_item(th, p_s_path, &key, &s_ih, p_s_inode, 262 reiserfs_update_sd(th, p_s_inode);
|
H A D | super.c | 66 struct reiserfs_transaction_handle th; local 68 if (!journal_begin(&th, s, 1)) 69 if (!journal_end_sync(&th, s, 1)) 87 struct reiserfs_transaction_handle th; local 90 int err = journal_begin(&th, s, 1); 92 reiserfs_block_writes(&th); 96 journal_mark_dirty(&th, s, SB_BUFFER_WITH_SB(s)); 97 reiserfs_block_writes(&th); 98 journal_end_sync(&th, s, 1); 122 struct reiserfs_transaction_handle th; local 311 add_save_link(struct reiserfs_transaction_handle *th, struct inode *inode, int truncate) argument 394 struct reiserfs_transaction_handle th; local 454 struct reiserfs_transaction_handle th; local 543 struct reiserfs_transaction_handle th; local 1122 struct reiserfs_transaction_handle th; local 1537 struct reiserfs_transaction_handle th; local 1819 struct reiserfs_transaction_handle th; local 1842 struct reiserfs_transaction_handle th; local 1865 struct reiserfs_transaction_handle th; local 1887 struct reiserfs_transaction_handle th; local 1909 struct reiserfs_transaction_handle th; local 1942 struct reiserfs_transaction_handle th; local [all...] |
H A D | resize.c | 28 struct reiserfs_transaction_handle th; local 158 err = journal_begin(&th, s, 10); 166 int jerr = journal_end(&th, s, 10); 179 journal_mark_dirty(&th, s, bh); 186 int jerr = journal_end(&th, s, 10); 195 journal_mark_dirty(&th, s, bh); 212 journal_mark_dirty(&th, s, SB_BUFFER_WITH_SB(s)); 215 return journal_end(&th, s, 10);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/char/ |
H A D | ds1620.c | 318 struct therm th; local 321 ds1620_read_state(&th); 326 th.hi >> 1, th.hi & 1 ? 5 : 0, 327 th.lo >> 1, th.lo & 1 ? 5 : 0, 353 struct therm th, th_start; local 367 ds1620_read_state(&th); 374 ds1620_write_state(&th); 388 ds1620_read_state(&th); [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/parisc/hpux/ |
H A D | gate.S | 29 ldw -64(%r30), %r29 ;! 8th argument 30 ldw -60(%r30), %r19 ;! 7th argument 31 ldw -56(%r30), %r20 ;! 6th argument 32 ldw -52(%r30), %r21 ;! 5th argument 64 STREG %r19, TASK_PT_GR19(%r1) /* 7th argument */ 65 STREG %r20, TASK_PT_GR20(%r1) /* 6th argument */ 66 STREG %r21, TASK_PT_GR21(%r1) /* 5th argument */ 68 STREG %r23, TASK_PT_GR23(%r1) /* 4th argument */ 75 STREG %r29, TASK_PT_GR29(%r1) /* 8th argument */ 86 stw %r21, -52(%r30) ;! 5th argumen [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iproute2/misc/ |
H A D | lnstat.c | 156 static struct table_hdr th; local 160 th.hdr[i] = malloc(HDR_LINE_LENGTH); 161 memset(th.hdr[i], 0, sizeof(th.hdr[i])); 171 snprintf(th.hdr[0]+ofs, width+2, fmt, 177 snprintf(th.hdr[h]+ofs, width+2, fmt, ""); 179 th.num_lines = h+1; 180 snprintf(th.hdr[h]+ofs, width+2, fmt, cname); 187 for (h = 1; h <= th.num_lines; h++) { 189 if (th 197 print_hdr(FILE *of, struct table_hdr *th) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv4/ipvs/ |
H A D | ip_vs_app.c | 256 * Fixes th->seq based on ip_vs_seq info. 258 static inline void vs_fix_seq(const struct ip_vs_seq *vseq, struct tcphdr *th) argument 260 __u32 seq = ntohl(th->seq); 269 th->seq = htonl(seq + vseq->delta); 273 th->seq = htonl(seq + vseq->previous_delta); 282 * Fixes th->ack_seq based on ip_vs_seq info. 285 vs_fix_ack_seq(const struct ip_vs_seq *vseq, struct tcphdr *th) argument 287 __u32 ack_seq = ntohl(th->ack_seq); 298 th->ack_seq = htonl(ack_seq - vseq->delta); 303 th 335 struct tcphdr *th; local 410 struct tcphdr *th; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv6/netfilter/ |
H A D | ip6t_LOG.c | 201 struct tcphdr _tcph, *th; local 210 th = skb_header_pointer(skb, ptr, sizeof(_tcph), &_tcph); 211 if (th == NULL) { 218 ntohs(th->source), ntohs(th->dest)); 222 ntohl(th->seq), ntohl(th->ack_seq)); 224 printk("WINDOW=%u ", ntohs(th->window)); 226 printk("RES=0x%02x ", (u_int8_t)(ntohl(tcp_flag_word(th) & TCP_RESERVED_BITS) >> 22)); 228 if (th [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/ |
H A D | slhc.c | 235 struct tcphdr *th, *oth; local 258 th = (struct tcphdr *)(((unsigned char *)ip) + ip->ihl*4); 259 hlen = ip->ihl*4 + th->doff*4; 265 if(hlen > isize || th->syn || th->fin || th->rst || 266 ! (th->ack)){ 288 && th->source == cs->cs_tcp.source 289 && th->dest == cs->cs_tcp.dest) 346 || th [all...] |