Searched refs:th (Results 26 - 50 of 85) sorted by relevance

1234

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv4/ipvs/
H A Dip_vs_ftp.c123 struct tcphdr *th; local
145 th = (struct tcphdr *)&(((char *)iph)[iph->ihl*4]);
146 data = (char *)th + (th->doff << 2);
215 struct tcphdr *th; local
237 th = (struct tcphdr *)&(((char *)iph)[iph->ihl*4]);
241 to calculate data address by th+HLEN*4 */
242 data = data_start = (char *)th + (th->doff << 2);
H A Dip_vs_proto_tcp.c77 struct tcphdr _tcph, *th; local
79 th = skb_header_pointer(skb, ip_hdrlen(skb), sizeof(_tcph), &_tcph);
80 if (th == NULL) {
85 if (th->syn &&
87 ip_hdr(skb)->daddr, th->dest))) {
378 static inline int tcp_state_idx(struct tcphdr *th) argument
380 if (th->rst)
382 if (th->syn)
384 if (th->fin)
386 if (th
392 set_tcp_state(struct ip_vs_protocol *pp, struct ip_vs_conn *cp, int direction, struct tcphdr *th) argument
461 struct tcphdr _tcph, *th; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/netfilter/
H A Dxt_tcpudp.c83 struct tcphdr _tcph, *th; local
103 th = skb_header_pointer(skb, protoff, sizeof(_tcph), &_tcph);
104 if (th == NULL) {
113 ntohs(th->source),
117 ntohs(th->dest),
120 if (!FWINVTCP((((unsigned char *)th)[13] & tcpinfo->flg_mask)
125 if (th->doff * 4 < sizeof(_tcph)) {
130 th->doff*4 - sizeof(_tcph),
H A Dnf_conntrack_proto_tcp.c765 struct tcphdr _tcph, *th; local
770 th = skb_header_pointer(skb, dataoff, sizeof(_tcph), &_tcph);
771 if (th == NULL) {
779 if (th->doff*4 < sizeof(struct tcphdr) || tcplen < th->doff*4) {
801 tcpflags = (((u_int8_t *)th)[13] & ~(TH_ECE|TH_CWR|TH_PUSH));
822 struct tcphdr *th, _tcph; local
826 th = skb_header_pointer(skb, dataoff, sizeof(_tcph), &_tcph);
827 BUG_ON(th == NULL);
832 index = get_conntrack_index(th);
1005 struct tcphdr *th, _tcph; local
[all...]
H A Dnf_conntrack_irc.c97 struct tcphdr _tcph, *th; local
119 th = skb_header_pointer(*pskb, protoff, sizeof(_tcph), &_tcph);
120 if (th == NULL)
124 dataoff = protoff + th->doff*4;
147 NIPQUAD(iph->saddr), ntohs(th->source),
148 NIPQUAD(iph->daddr), ntohs(th->dest));
H A Dnf_conntrack_sane.c67 struct tcphdr _tcph, *th; local
85 th = skb_header_pointer(*pskb, protoff, sizeof(_tcph), &_tcph);
86 if (th == NULL)
90 dataoff = protoff + th->doff * 4;
H A Dnf_conntrack_ftp.c345 struct tcphdr _tcph, *th; local
365 th = skb_header_pointer(*pskb, protoff, sizeof(_tcph), &_tcph);
366 if (th == NULL)
369 dataoff = protoff + th->doff * 4;
383 seq = ntohl(th->seq) + datalen;
386 if (!find_nl_seq(ntohl(th->seq), ct_ftp_info, dir)) {
422 ntohl(th->seq), datalen);
432 matchlen, ntohl(th->seq) + matchoff);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/reiserfs/
H A Djournal.c101 static int journal_join(struct reiserfs_transaction_handle *th,
117 static int do_journal_begin_r(struct reiserfs_transaction_handle *th,
1908 static int do_journal_release(struct reiserfs_transaction_handle *th, argument
1919 BUG_ON(!th->t_trans_id);
1920 do_journal_end(th, p_s_sb, 10, FLUSH_ALL);
1964 int journal_release(struct reiserfs_transaction_handle *th, argument
1967 return do_journal_release(th, p_s_sb, 0);
1973 int journal_release_error(struct reiserfs_transaction_handle *th, argument
1976 return do_journal_release(th, p_s_sb, 1);
2852 int journal_transaction_should_end(struct reiserfs_transaction_handle *th, argument
2877 reiserfs_block_writes(struct reiserfs_transaction_handle *th) argument
2958 do_journal_begin_r(struct reiserfs_transaction_handle *th, struct super_block *p_s_sb, unsigned long nblocks, int join) argument
3078 struct reiserfs_transaction_handle *th; local
3103 reiserfs_end_persistent_transaction(struct reiserfs_transaction_handle *th) argument
3118 journal_join(struct reiserfs_transaction_handle *th, struct super_block *p_s_sb, unsigned long nblocks) argument
3131 journal_join_abort(struct reiserfs_transaction_handle *th, struct super_block *p_s_sb, unsigned long nblocks) argument
3144 journal_begin(struct reiserfs_transaction_handle *th, struct super_block *p_s_sb, unsigned long nblocks) argument
3197 journal_mark_dirty(struct reiserfs_transaction_handle *th, struct super_block *p_s_sb, struct buffer_head *bh) argument
3300 journal_end(struct reiserfs_transaction_handle *th, struct super_block *p_s_sb, unsigned long nblocks) argument
3432 journal_end_sync(struct reiserfs_transaction_handle *th, struct super_block *p_s_sb, unsigned long nblocks) argument
3476 struct reiserfs_transaction_handle th; local
3521 check_journal_end(struct reiserfs_transaction_handle *th, struct super_block *p_s_sb, unsigned long nblocks, int flags) argument
3637 journal_mark_freed(struct reiserfs_transaction_handle *th, struct super_block *p_s_sb, b_blocknr_t blocknr) argument
3735 struct reiserfs_transaction_handle th; local
3886 do_journal_end(struct reiserfs_transaction_handle *th, struct super_block *p_s_sb, unsigned long nblocks, int flags) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv6/
H A Dtcp_ipv6.c108 static __inline__ __sum16 tcp_v6_check(struct tcphdr *th, int len, argument
326 const struct tcphdr *th = (struct tcphdr *)(skb->data+offset); local
333 sk = inet6_lookup(&tcp_hashinfo, &hdr->daddr, th->dest, &hdr->saddr,
334 th->source, skb->dev->ifindex);
354 seq = ntohl(th->seq);
421 req = inet6_csk_search_req(sk, &prev, th->dest, &hdr->daddr,
516 struct tcphdr *th = tcp_hdr(skb); local
518 th->check = tcp_v6_check(th, skb->len,
520 csum_partial((char *)th, sk
741 tcp_v6_do_calc_md5_hash(char *md5_hash, struct tcp_md5sig_key *key, struct in6_addr *saddr, struct in6_addr *daddr, struct tcphdr *th, int protocol, int tcplen) argument
821 tcp_v6_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
847 struct tcphdr *th = tcp_hdr(skb); local
955 struct tcphdr *th = tcp_hdr(skb); local
971 struct tcphdr *th; local
990 struct tcphdr *th = tcp_hdr(skb), *t1; local
1090 struct tcphdr *th = tcp_hdr(skb), *t1; local
1206 const struct tcphdr *th = tcp_hdr(skb); local
1687 struct tcphdr *th; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv4/
H A Dtcp_minisocks.c97 const struct tcphdr *th)
104 if (th->doff > (sizeof(*th) >> 2) && tcptw->tw_ts_recent_stamp) {
110 paws_reject = tcp_paws_check(&tmp_opt, th->rst);
124 if (th->rst)
127 if (th->syn && !before(TCP_SKB_CB(skb)->seq, tcptw->tw_rcv_nxt))
140 if (!th->fin ||
191 (TCP_SKB_CB(skb)->seq == TCP_SKB_CB(skb)->end_seq || th->rst))) {
194 if (th->rst) {
235 if (th
96 tcp_timewait_state_process(struct inet_timewait_sock *tw, struct sk_buff *skb, const struct tcphdr *th) argument
492 const struct tcphdr *th = tcp_hdr(skb); local
[all...]
H A Dtcp_input.c2866 struct tcphdr *th = tcp_hdr(skb); local
2867 int length=(th->doff*4)-sizeof(struct tcphdr);
2869 ptr = (unsigned char *)(th + 1);
2890 if (opsize==TCPOLEN_MSS && th->syn && !estab) {
2900 if (opsize==TCPOLEN_WINDOW && th->syn && !estab)
2925 if (opsize==TCPOLEN_SACK_PERM && th->syn && !estab) {
2937 TCP_SKB_CB(skb)->sacked = (ptr - 2) - (unsigned char *)th;
2959 static int tcp_fast_parse_options(struct sk_buff *skb, struct tcphdr *th, argument
2962 if (th->doff == sizeof(struct tcphdr)>>2) {
2966 th
3024 struct tcphdr *th = tcp_hdr(skb); local
3105 tcp_fin(struct sk_buff *skb, struct sock *sk, struct tcphdr *th) argument
3395 struct tcphdr *th = tcp_hdr(skb); local
3940 tcp_check_urg(struct sock * sk, struct tcphdr * th) argument
4007 tcp_urg(struct sock *sk, struct sk_buff *skb, struct tcphdr *th) argument
4142 tcp_rcv_established(struct sock *sk, struct sk_buff *skb, struct tcphdr *th, unsigned len) argument
4396 tcp_rcv_synsent_state_process(struct sock *sk, struct sk_buff *skb, struct tcphdr *th, unsigned len) argument
4634 tcp_rcv_state_process(struct sock *sk, struct sk_buff *skb, struct tcphdr *th, unsigned len) argument
[all...]
H A Dtcp.c2180 struct tcphdr *th; local
2187 if (!pskb_may_pull(skb, sizeof(*th)))
2190 th = tcp_hdr(skb);
2191 thlen = th->doff * 4;
2192 if (thlen < sizeof(*th))
2230 th = tcp_hdr(skb);
2231 seq = ntohl(th->seq);
2234 th->fin = th->psh = 0;
2236 th
2269 struct tcphdr *th; local
2352 struct tcphdr *th = tcp_hdr(skb); local
[all...]
H A Dtcp_output.c231 * value can be stuffed directly into th->window for an outgoing
402 struct tcphdr *th; local
475 th = tcp_hdr(skb);
476 th->source = inet->sport;
477 th->dest = inet->dport;
478 th->seq = htonl(tcb->seq);
479 th->ack_seq = htonl(tp->rcv_nxt);
480 *(((__be16 *)th) + 6) = htons(((tcp_header_size >> 2) << 12) |
487 th->window = htons(min(tp->rcv_wnd, 65535U));
489 th
2111 struct tcphdr *th; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/
H A Dloopback.c79 struct tcphdr *th = (struct tcphdr *)(skb_network_header(skb) + local
81 unsigned int doffset = (iph->ihl + th->doff) * 4;
84 u32 seq = ntohl(th->seq);
113 th = (struct tcphdr *)(skb_network_header(nskb) + iph->ihl * 4);
118 th->seq = htonl(seq);
120 th->fin = th->psh = 0;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/s390/net/
H A Dqeth_eddp.h75 } th; member in struct:qeth_eddp_data
77 void *th_in_ctx; /* address of th within the ctx */
H A Dqeth_eddp.c252 memcpy(page + page_offset, (u8 *)&eddp->th, eddp->thl);
358 eddp->th.tcp.h.check = 0;
363 return csum_partial((u8 *)&eddp->th, eddp->thl, phcsum);
373 eddp->th.tcp.h.check = 0;
385 qeth_eddp_create_eddp_data(struct qeth_hdr *qh, u8 *nh, u8 nhl, u8 *th, u8 thl) argument
396 memcpy(&eddp->th, th, thl);
447 eddp->th.tcp.h.fin = tcph->fin;
448 eddp->th.tcp.h.psh = tcph->psh;
462 eddp->th
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/net/
H A Darp.h17 unsigned char *dest_hw, unsigned char *src_hw, unsigned char *th);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/alpha/lib/
H A Dev67-strlen.S34 cmpbge $31, $1, $2 # E : $2 <- bitmask: bit i == 1 <==> i-th byte == 0
H A Dstrlen.S29 cmpbge $31, $1, $2 # $2 <- bitmask: bit i == 1 <==> i-th byte == 0
H A Dev67-strlen_user.S68 cmpbge zero, t0, t1 # E : t1 <- bitmask: bit i == 1 <==> i-th byte == 0
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavcodec/alpha/
H A Ddsputil_alpha_asm.S38 #define th v0 define
214 lda th, 8
274 subq th, 2, th
283 bne th, 1b
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dreiserfs_fs.h899 | directory |N-1| N-2 | .... | 1st |0th|
1003 calculates length of i-th directory entry using directory entry
1004 locations from dir entry head. When it calculates length of 0-th
1690 struct reiserfs_transaction_handle *th = current->journal_info; local
1691 if (th && th->t_super == s)
1693 if (th && th->t_super == NULL)
1698 static inline int reiserfs_transaction_free_space(struct reiserfs_transaction_handle *th) argument
1700 return th
1894 reiserfs_update_sd(struct reiserfs_transaction_handle *th, struct inode *inode) argument
2049 struct reiserfs_transaction_handle *th; /* transaction handle is needed to log super blocks and member in struct:__reiserfs_blocknr_hint
2100 reiserfs_new_unf_blocknrs(struct reiserfs_transaction_handle *th, struct inode *inode, b_blocknr_t * new_blocknrs, struct treepath *path, long block) argument
2117 reiserfs_new_unf_blocknrs2(struct reiserfs_transaction_handle *th, struct inode *inode, b_blocknr_t * new_blocknrs, struct treepath *path, long block) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavformat/
H A Drtsp.c579 RTSPTransportField *th; local
589 th = &reply->transports[reply->nb_transports];
604 th->transport = RTSP_TRANSPORT_RTP;
610 th->transport = RTSP_TRANSPORT_RDT;
613 th->lower_transport = RTSP_LOWER_TRANSPORT_TCP;
615 th->lower_transport = RTSP_LOWER_TRANSPORT_UDP;
625 rtsp_parse_range(&th->port_min, &th->port_max, &p);
630 rtsp_parse_range(&th->client_port_min,
631 &th
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/usb/storage/
H A Dusb.c789 struct task_struct *th; local
806 th = kthread_create(usb_stor_control_thread, us, "usb-storage");
807 if (IS_ERR(th)) {
810 return PTR_ERR(th);
818 wake_up_process(th);
959 struct task_struct *th; local
1025 th = kthread_create(usb_stor_scan_thread, us, "usb-stor-scan");
1026 if (IS_ERR(th)) {
1030 result = PTR_ERR(th);
1039 wake_up_process(th);
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/crypto/bn/asm/
H A Dmips1.s364 # 322 BN_ULONG dh,dl,q,ret=0,th,tl,t;
484 # 363 th=q*dh;
491 # 367 th+=t;
495 # 369 if (l < tl) th++;
501 # 371 if (h < th)
510 # 376 h-=th;

Completed in 213 milliseconds

1234