tag | line | file | source code |
th | 252 | drivers/net/slhc.c | struct tcphdr *th, *oth; |
th | 268 | drivers/net/slhc.c | th = (struct tcphdr *)(((unsigned char *)ip) + ip->ihl*4); |
th | 269 | drivers/net/slhc.c | hlen = ip->ihl*4 + th->doff*4; |
th | 274 | drivers/net/slhc.c | if(th->syn || th->fin || th->rst || |
th | 275 | drivers/net/slhc.c | ! (th->ack)){ |
th | 297 | drivers/net/slhc.c | && th->source == cs->cs_tcp.source |
th | 298 | drivers/net/slhc.c | && th->dest == cs->cs_tcp.dest) |
th | 356 | drivers/net/slhc.c | || th->doff != cs->cs_tcp.doff |
th | 358 | drivers/net/slhc.c | || (th->doff > 5 && memcmp(th+1,cs->cs_tcpopt,((th->doff)-5)*4 != 0))){ |
th | 368 | drivers/net/slhc.c | if(th->urg){ |
th | 369 | drivers/net/slhc.c | deltaS = ntohs(th->urg_ptr); |
th | 372 | drivers/net/slhc.c | } else if(th->urg_ptr != oth->urg_ptr){ |
th | 379 | drivers/net/slhc.c | if((deltaS = ntohs(th->window) - ntohs(oth->window)) != 0){ |
th | 383 | drivers/net/slhc.c | if((deltaA = ntohl(th->ack_seq) - ntohl(oth->ack_seq)) != 0L){ |
th | 389 | drivers/net/slhc.c | if((deltaS = ntohl(th->seq) - ntohl(oth->seq)) != 0L){ |
th | 436 | drivers/net/slhc.c | if(th->psh) |
th | 441 | drivers/net/slhc.c | deltaA = ntohs(th->check); |
th | 443 | drivers/net/slhc.c | memcpy(&cs->cs_tcp,th,20); |
th | 476 | drivers/net/slhc.c | memcpy(&cs->cs_tcp,th,20); |
th | 479 | drivers/net/slhc.c | if (th->doff > 5) |
th | 480 | drivers/net/slhc.c | memcpy(cs->cs_tcpopt, th+1, ((th->doff) - 5) * 4); |
th | 16 | include/asm-alpha/ipsum.h | extern inline unsigned short tcp_check(struct tcphdr *th, int len, u32 saddr, u32 daddr) |
th | 20 | include/asm-sparc/ipsum.h | extern inline unsigned short tcp_check(struct tcphdr *th, int len, u32 saddr, u32 daddr) |
th | 52 | include/linux/skbuff.h | struct tcphdr *th; |
th | 137 | include/net/tcp.h | extern void tcp_send_check(struct tcphdr *th, unsigned long saddr, |
th | 521 | net/ipv4/ip_fw.c | struct tcphdr *th = (struct tcphdr *)&(((char *)iph)[iph->ihl*4]); |
th | 523 | net/ipv4/ip_fw.c | char *p, *data = (char *)&th[1]; |
th | 534 | net/ipv4/ip_fw.c | if (ftp->delta && after(ftp->init_seq,th->seq)) |
th | 536 | net/ipv4/ip_fw.c | th->seq += ftp->delta; |
th | 613 | net/ipv4/ip_fw.c | ftp->init_seq = th->seq; |
th | 732 | net/ipv4/ip_fw.c | struct tcphdr *th; |
th | 740 | net/ipv4/ip_fw.c | th = (struct tcphdr *)portptr; |
th | 745 | net/ipv4/ip_fw.c | if (ms->sawfin || th->fin) |
th | 752 | net/ipv4/ip_fw.c | tcp_send_check(th,iph->saddr,iph->daddr,size,skb->sk); |
th | 776 | net/ipv4/ip_fw.c | struct tcphdr *th = (struct tcphdr *)(skb_ptr->h.raw+(iph->ihl<<2)); |
th | 824 | net/ipv4/ip_fw.c | if (ms->delta && after(ms->init_seq,th->ack_seq)) |
th | 827 | net/ipv4/ip_fw.c | th->ack_seq -= ms->delta; |
th | 454 | net/ipv4/tcp.c | struct tcphdr *th; |
th | 478 | net/ipv4/tcp.c | th = (struct tcphdr *)(((char *)iph) + (iph->ihl << 2)); |
th | 531 | net/ipv4/tcp.c | th->ack_seq = ntohl(sk->acked_seq); |
th | 532 | net/ipv4/tcp.c | th->window = ntohs(tcp_select_window(sk)); |
th | 533 | net/ipv4/tcp.c | tcp_send_check(th, sk->saddr, sk->daddr, size, sk); |
th | 850 | net/ipv4/tcp.c | struct tcphdr *th; |
th | 857 | net/ipv4/tcp.c | th =(struct tcphdr *)header; |
th | 858 | net/ipv4/tcp.c | sk = get_sock(&tcp_prot, th->source, daddr, th->dest, saddr); |
th | 939 | net/ipv4/tcp.c | if (before(counted, skb->h.th->seq)) /* Found a hole so stops here */ |
th | 941 | net/ipv4/tcp.c | sum = skb->len -(counted - skb->h.th->seq); /* Length - header but start from where we are up to (avoid overlaps) */ |
th | 942 | net/ipv4/tcp.c | if (skb->h.th->syn) |
th | 947 | net/ipv4/tcp.c | if (skb->h.th->syn) |
th | 967 | net/ipv4/tcp.c | if (skb->h.th->urg) |
th | 969 | net/ipv4/tcp.c | if (amount && skb->h.th->psh) break; |
th | 1115 | net/ipv4/tcp.c | unsigned short tcp_check(struct tcphdr *th, int len, |
th | 1123 | net/ipv4/tcp.c | void tcp_send_check(struct tcphdr *th, unsigned long saddr, |
th | 1126 | net/ipv4/tcp.c | th->check = 0; |
th | 1127 | net/ipv4/tcp.c | th->check = tcp_check(th, len, saddr, daddr, |
th | 1128 | net/ipv4/tcp.c | csum_partial((char *)th,len,0)); |
th | 1140 | net/ipv4/tcp.c | struct tcphdr * th = skb->h.th; |
th | 1146 | net/ipv4/tcp.c | size = skb->len - ((unsigned char *) th - skb->data); |
th | 1155 | net/ipv4/tcp.c | skb, skb->data, th, skb->len); |
th | 1168 | net/ipv4/tcp.c | if(!th->syn && !th->fin) |
th | 1181 | net/ipv4/tcp.c | skb->h.seq = ntohl(th->seq) + size - 4*th->doff; |
th | 1197 | net/ipv4/tcp.c | th->check = 0; |
th | 1222 | net/ipv4/tcp.c | th->ack_seq = ntohl(sk->acked_seq); |
th | 1223 | net/ipv4/tcp.c | th->window = ntohs(tcp_select_window(sk)); |
th | 1225 | net/ipv4/tcp.c | tcp_send_check(th, sk->saddr, sk->daddr, size, sk); |
th | 1321 | net/ipv4/tcp.c | struct tcphdr *th, unsigned long daddr) |
th | 1375 | net/ipv4/tcp.c | memcpy(t1, th, sizeof(*t1)); |
th | 1381 | net/ipv4/tcp.c | t1->dest = th->source; |
th | 1382 | net/ipv4/tcp.c | t1->source = th->dest; |
th | 1435 | net/ipv4/tcp.c | extern __inline int tcp_build_header(struct tcphdr *th, struct sock *sk, int push) |
th | 1438 | net/ipv4/tcp.c | memcpy(th,(void *) &(sk->dummy_th), sizeof(*th)); |
th | 1439 | net/ipv4/tcp.c | th->seq = htonl(sk->write_seq); |
th | 1440 | net/ipv4/tcp.c | th->psh =(push == 0) ? 1 : 0; |
th | 1441 | net/ipv4/tcp.c | th->doff = sizeof(*th)/4; |
th | 1442 | net/ipv4/tcp.c | th->ack = 1; |
th | 1443 | net/ipv4/tcp.c | th->fin = 0; |
th | 1447 | net/ipv4/tcp.c | th->ack_seq = htonl(sk->acked_seq); |
th | 1449 | net/ipv4/tcp.c | th->window = htons(sk->window); |
th | 1451 | net/ipv4/tcp.c | return(sizeof(*th)); |
th | 1582 | net/ipv4/tcp.c | hdrlen = ((unsigned long)skb->h.th - (unsigned long)skb->data) |
th | 1721 | net/ipv4/tcp.c | skb->h.th =(struct tcphdr *)skb_put(skb,sizeof(struct tcphdr)); |
th | 1722 | net/ipv4/tcp.c | tmp = tcp_build_header(skb->h.th, sk, len-copy); |
th | 1734 | net/ipv4/tcp.c | skb->h.th->urg = 1; |
th | 1735 | net/ipv4/tcp.c | skb->h.th->urg_ptr = ntohs(copy); |
th | 2091 | net/ipv4/tcp.c | if (before(*seq, skb->h.th->seq)) |
th | 2093 | net/ipv4/tcp.c | offset = *seq - skb->h.th->seq; |
th | 2094 | net/ipv4/tcp.c | if (skb->h.th->syn) |
th | 2098 | net/ipv4/tcp.c | if (skb->h.th->fin) |
th | 2206 | net/ipv4/tcp.c | memcpy_tofs(to,((unsigned char *)skb->h.th) + |
th | 2207 | net/ipv4/tcp.c | skb->h.th->doff*4 + offset, used); |
th | 2229 | net/ipv4/tcp.c | if (skb->h.th->fin) |
th | 2323 | net/ipv4/tcp.c | struct tcphdr *th =(struct tcphdr *)&sk->dummy_th; |
th | 2381 | net/ipv4/tcp.c | memcpy(t1, th, sizeof(*t1)); |
th | 2507 | net/ipv4/tcp.c | static void tcp_reset(unsigned long saddr, unsigned long daddr, struct tcphdr *th, |
th | 2519 | net/ipv4/tcp.c | if(th->rst) |
th | 2549 | net/ipv4/tcp.c | memcpy(t1, th, sizeof(*t1)); |
th | 2555 | net/ipv4/tcp.c | t1->dest = th->source; |
th | 2556 | net/ipv4/tcp.c | t1->source = th->dest; |
th | 2560 | net/ipv4/tcp.c | if(th->ack) |
th | 2563 | net/ipv4/tcp.c | t1->seq = th->ack_seq; |
th | 2569 | net/ipv4/tcp.c | if(!th->syn) |
th | 2570 | net/ipv4/tcp.c | t1->ack_seq=htonl(th->seq); |
th | 2572 | net/ipv4/tcp.c | t1->ack_seq=htonl(th->seq+1); |
th | 2598 | net/ipv4/tcp.c | static void tcp_options(struct sock *sk, struct tcphdr *th) |
th | 2601 | net/ipv4/tcp.c | int length=(th->doff*4)-sizeof(struct tcphdr); |
th | 2604 | net/ipv4/tcp.c | ptr = (unsigned char *)(th + 1); |
th | 2625 | net/ipv4/tcp.c | if(opsize==4 && th->syn) |
th | 2637 | net/ipv4/tcp.c | if (th->syn) |
th | 2691 | net/ipv4/tcp.c | struct tcphdr *th; |
th | 2696 | net/ipv4/tcp.c | th = skb->h.th; |
th | 2707 | net/ipv4/tcp.c | tcp_reset(daddr, saddr, th, sk->prot, opt, dev, sk->ip_tos,sk->ip_ttl); |
th | 2771 | net/ipv4/tcp.c | newsk->acked_seq = skb->h.th->seq+1; |
th | 2772 | net/ipv4/tcp.c | newsk->copied_seq = skb->h.th->seq+1; |
th | 2773 | net/ipv4/tcp.c | newsk->fin_seq = skb->h.th->seq; |
th | 2790 | net/ipv4/tcp.c | newsk->dummy_th.source = skb->h.th->dest; |
th | 2791 | net/ipv4/tcp.c | newsk->dummy_th.dest = skb->h.th->source; |
th | 2810 | net/ipv4/tcp.c | newsk->acked_seq = skb->h.th->seq + 1; |
th | 2811 | net/ipv4/tcp.c | newsk->copied_seq = skb->h.th->seq + 1; |
th | 2862 | net/ipv4/tcp.c | tcp_options(newsk,skb->h.th); |
th | 2909 | net/ipv4/tcp.c | memcpy(t1, skb->h.th, sizeof(*t1)); |
th | 2914 | net/ipv4/tcp.c | t1->dest = skb->h.th->source; |
th | 2927 | net/ipv4/tcp.c | t1->ack_seq = ntohl(skb->h.th->seq+1); |
th | 3075 | net/ipv4/tcp.c | struct tcphdr *th; |
th | 3086 | net/ipv4/tcp.c | th = (struct tcphdr *)(((char *)iph) +(iph->ihl << 2)); |
th | 3087 | net/ipv4/tcp.c | size = skb->len - (((unsigned char *) th) - skb->data); |
th | 3089 | net/ipv4/tcp.c | th->ack_seq = ntohl(sk->acked_seq); |
th | 3090 | net/ipv4/tcp.c | th->window = ntohs(tcp_select_window(sk)); |
th | 3092 | net/ipv4/tcp.c | tcp_send_check(th, sk->saddr, sk->daddr, size, sk); |
th | 3116 | net/ipv4/tcp.c | extern __inline__ int tcp_ack(struct sock *sk, struct tcphdr *th, unsigned long saddr, int len) |
th | 3135 | net/ipv4/tcp.c | ack = ntohl(th->ack_seq); |
th | 3137 | net/ipv4/tcp.c | if (ntohs(th->window) > sk->max_window) |
th | 3139 | net/ipv4/tcp.c | sk->max_window = ntohs(th->window); |
th | 3192 | net/ipv4/tcp.c | if (len != th->doff*4) |
th | 3199 | net/ipv4/tcp.c | if (after(sk->window_seq, ack+ntohs(th->window))) |
th | 3223 | net/ipv4/tcp.c | sk->window_seq = ack + ntohs(th->window); |
th | 3279 | net/ipv4/tcp.c | sk->window_seq = ack + ntohs(th->window); |
th | 3645 | net/ipv4/tcp.c | tcp_options(sk,th); |
th | 3646 | net/ipv4/tcp.c | sk->dummy_th.dest=th->source; |
th | 3719 | net/ipv4/tcp.c | static int tcp_fin(struct sk_buff *skb, struct sock *sk, struct tcphdr *th) |
th | 3721 | net/ipv4/tcp.c | sk->fin_seq = th->seq + skb->len + th->syn + th->fin; |
th | 3739 | net/ipv4/tcp.c | if (th->rst) |
th | 3810 | net/ipv4/tcp.c | struct tcphdr *th; |
th | 3814 | net/ipv4/tcp.c | th = skb->h.th; |
th | 3815 | net/ipv4/tcp.c | skb_pull(skb,th->doff*4); |
th | 3816 | net/ipv4/tcp.c | skb_trim(skb,len-(th->doff*4)); |
th | 3825 | net/ipv4/tcp.c | if (skb->len == 0 && !th->fin) |
th | 3831 | net/ipv4/tcp.c | if (!th->ack) |
th | 3832 | net/ipv4/tcp.c | tcp_send_ack(sk->sent_seq, sk->acked_seq,sk, th, saddr); |
th | 3855 | net/ipv4/tcp.c | new_seq= th->seq + skb->len + th->syn; /* Right edge of _data_ part of frame */ |
th | 3877 | net/ipv4/tcp.c | sk->acked_seq = new_seq + th->fin; |
th | 3878 | net/ipv4/tcp.c | tcp_reset(sk->saddr, sk->daddr, skb->h.th, |
th | 3917 | net/ipv4/tcp.c | printk("skb1->h.th->seq = %d: ", skb1->h.th->seq); |
th | 3918 | net/ipv4/tcp.c | printk("skb->h.th->seq = %d\n",skb->h.th->seq); |
th | 3931 | net/ipv4/tcp.c | if (th->seq==skb1->h.th->seq && skb->len>= skb1->len) |
th | 3945 | net/ipv4/tcp.c | if (after(th->seq+1, skb1->h.th->seq)) |
th | 3966 | net/ipv4/tcp.c | th->ack_seq = th->seq + skb->len; |
th | 3967 | net/ipv4/tcp.c | if (th->syn) |
th | 3968 | net/ipv4/tcp.c | th->ack_seq++; |
th | 3969 | net/ipv4/tcp.c | if (th->fin) |
th | 3970 | net/ipv4/tcp.c | th->ack_seq++; |
th | 3984 | net/ipv4/tcp.c | if ((!dup_dumped && (skb1 == NULL || skb1->acked)) || before(th->seq, sk->acked_seq+1)) |
th | 3986 | net/ipv4/tcp.c | if (before(th->seq, sk->acked_seq+1)) |
th | 3990 | net/ipv4/tcp.c | if (after(th->ack_seq, sk->acked_seq)) |
th | 3992 | net/ipv4/tcp.c | newwindow = sk->window-(th->ack_seq - sk->acked_seq); |
th | 3996 | net/ipv4/tcp.c | sk->acked_seq = th->ack_seq; |
th | 4005 | net/ipv4/tcp.c | if (skb->h.th->fin) |
th | 4007 | net/ipv4/tcp.c | tcp_fin(skb,sk,skb->h.th); |
th | 4014 | net/ipv4/tcp.c | if (before(skb2->h.th->seq, sk->acked_seq+1)) |
th | 4016 | net/ipv4/tcp.c | if (after(skb2->h.th->ack_seq, sk->acked_seq)) |
th | 4019 | net/ipv4/tcp.c | (skb2->h.th->ack_seq - sk->acked_seq); |
th | 4023 | net/ipv4/tcp.c | sk->acked_seq = skb2->h.th->ack_seq; |
th | 4030 | net/ipv4/tcp.c | if (skb2->h.th->fin) |
th | 4032 | net/ipv4/tcp.c | tcp_fin(skb,sk,skb->h.th); |
th | 4053 | net/ipv4/tcp.c | sk->bytes_rcv > sk->max_unacked || th->fin) { |
th | 4102 | net/ipv4/tcp.c | tcp_send_ack(sk->sent_seq, sk->acked_seq, sk, th, saddr); |
th | 4108 | net/ipv4/tcp.c | tcp_send_ack(sk->sent_seq, sk->acked_seq, sk, th, saddr); |
th | 4133 | net/ipv4/tcp.c | static void tcp_check_urg(struct sock * sk, struct tcphdr * th) |
th | 4135 | net/ipv4/tcp.c | u32 ptr = ntohs(th->urg_ptr); |
th | 4139 | net/ipv4/tcp.c | ptr += th->seq; |
th | 4165 | net/ipv4/tcp.c | extern __inline__ int tcp_urg(struct sock *sk, struct tcphdr *th, |
th | 4174 | net/ipv4/tcp.c | if (th->urg) |
th | 4175 | net/ipv4/tcp.c | tcp_check_urg(sk,th); |
th | 4188 | net/ipv4/tcp.c | ptr = sk->urg_seq - th->seq + th->doff*4; |
th | 4196 | net/ipv4/tcp.c | sk->urg_data = URG_VALID | *(ptr + (unsigned char *) th); |
th | 4425 | net/ipv4/tcp.c | extern __inline__ int tcp_sequence(struct sock *sk, struct tcphdr *th, short len, |
th | 4430 | net/ipv4/tcp.c | next_seq = len - 4*th->doff; |
th | 4431 | net/ipv4/tcp.c | if (th->fin) |
th | 4436 | net/ipv4/tcp.c | next_seq += th->seq; |
th | 4449 | net/ipv4/tcp.c | if (!before(th->seq, sk->acked_seq + sk->window + 1)) |
th | 4456 | net/ipv4/tcp.c | if (th->rst) |
th | 4468 | net/ipv4/tcp.c | tcp_reset(sk->saddr,sk->daddr,th,sk->prot,NULL,dev, sk->ip_tos,sk->ip_ttl); |
th | 4473 | net/ipv4/tcp.c | tcp_send_ack(sk->sent_seq, sk->acked_seq, sk, th, saddr); |
th | 4518 | net/ipv4/tcp.c | struct tcphdr *th; |
th | 4529 | net/ipv4/tcp.c | th = skb->h.th; |
th | 4535 | net/ipv4/tcp.c | if(saddr==th_cache_saddr && daddr==th_cache_daddr && th->dest==th_cache_dport && th->source==th_cache_sport) |
th | 4539 | net/ipv4/tcp.c | sk = get_sock(&tcp_prot, th->dest, saddr, th->source, daddr); |
th | 4542 | net/ipv4/tcp.c | th_cache_dport=th->dest; |
th | 4543 | net/ipv4/tcp.c | th_cache_sport=th->source; |
th | 4569 | net/ipv4/tcp.c | (skb->ip_summed && tcp_check(th, len, saddr, daddr, skb->csum ))|| |
th | 4570 | net/ipv4/tcp.c | (!skb->ip_summed && tcp_check(th, len, saddr, daddr, csum_partial((char *)th, len, 0))) |
th | 4581 | net/ipv4/tcp.c | th->seq = ntohl(th->seq); |
th | 4589 | net/ipv4/tcp.c | tcp_reset(daddr, saddr, th, &tcp_prot, opt,dev,skb->ip_hdr->tos,255); |
th | 4620 | net/ipv4/tcp.c | tcp_reset(daddr, saddr, th, &tcp_prot, opt,dev,skb->ip_hdr->tos,255); |
th | 4665 | net/ipv4/tcp.c | if(th->ack) /* These use the socket TOS.. might want to be the received TOS */ |
th | 4666 | net/ipv4/tcp.c | tcp_reset(daddr,saddr,th,sk->prot,opt,dev,sk->ip_tos, sk->ip_ttl); |
th | 4675 | net/ipv4/tcp.c | if(th->rst || !th->syn || th->ack || ip_chk_addr(daddr)!=IS_MYADDR) |
th | 4702 | net/ipv4/tcp.c | if (sk->state == TCP_SYN_RECV && th->syn && th->seq+1 == sk->acked_seq) |
th | 4717 | net/ipv4/tcp.c | if(th->ack) |
th | 4720 | net/ipv4/tcp.c | if(!tcp_ack(sk,th,saddr,len)) |
th | 4725 | net/ipv4/tcp.c | tcp_reset(daddr, saddr, th, |
th | 4731 | net/ipv4/tcp.c | if(th->rst) |
th | 4733 | net/ipv4/tcp.c | if(!th->syn) |
th | 4746 | net/ipv4/tcp.c | sk->acked_seq=th->seq+1; |
th | 4747 | net/ipv4/tcp.c | sk->fin_seq=th->seq; |
th | 4748 | net/ipv4/tcp.c | tcp_send_ack(sk->sent_seq,sk->acked_seq,sk,th,sk->daddr); |
th | 4750 | net/ipv4/tcp.c | tcp_options(sk,th); |
th | 4751 | net/ipv4/tcp.c | sk->dummy_th.dest=th->source; |
th | 4767 | net/ipv4/tcp.c | if(th->syn && !th->rst) |
th | 4772 | net/ipv4/tcp.c | sk->dummy_th.source==th->source && |
th | 4773 | net/ipv4/tcp.c | sk->dummy_th.dest==th->dest) |
th | 4804 | net/ipv4/tcp.c | if (sk->state == TCP_TIME_WAIT && th->syn && sk->dead && |
th | 4805 | net/ipv4/tcp.c | after(th->seq, sk->acked_seq) && !th->rst) |
th | 4817 | net/ipv4/tcp.c | sk=get_sock(&tcp_prot, th->dest, saddr, th->source, daddr); |
th | 4839 | net/ipv4/tcp.c | if(!tcp_sequence(sk,th,len,opt,saddr,dev)) |
th | 4846 | net/ipv4/tcp.c | if(th->rst) |
th | 4853 | net/ipv4/tcp.c | if(th->syn && !syn_ok) |
th | 4855 | net/ipv4/tcp.c | tcp_reset(daddr,saddr,th, &tcp_prot, opt, dev, skb->ip_hdr->tos, 255); |
th | 4864 | net/ipv4/tcp.c | if(th->ack && !tcp_ack(sk,th,saddr,len)) |
th | 4872 | net/ipv4/tcp.c | tcp_reset(daddr, saddr, th,sk->prot, opt, dev,sk->ip_tos,sk->ip_ttl); |
th | 4885 | net/ipv4/tcp.c | if(tcp_urg(sk, th, saddr, len)) |
th | 4952 | net/ipv4/tcp.c | struct tcphdr *th; |
th | 4968 | net/ipv4/tcp.c | th = (struct tcphdr *)(((char *)iph) +(iph->ihl << 2)); |
th | 4974 | net/ipv4/tcp.c | buff = sk->prot->wmalloc(sk, win_size + th->doff * 4 + |
th | 5010 | net/ipv4/tcp.c | nth = (struct tcphdr *) skb_put(buff,th->doff*4); |
th | 5012 | net/ipv4/tcp.c | memcpy(nth, th, th->doff * 4); |
th | 5028 | net/ipv4/tcp.c | (iph->ihl << 2) + th->doff * 4; |
th | 5047 | net/ipv4/tcp.c | th->check = 0; |
th | 5054 | net/ipv4/tcp.c | th->seq = htonl(sk->sent_seq); |
th | 5055 | net/ipv4/tcp.c | if (th->urg) |
th | 5059 | net/ipv4/tcp.c | urg_ptr = ntohs(th->urg_ptr); |
th | 5061 | net/ipv4/tcp.c | th->urg = 0; |
th | 5065 | net/ipv4/tcp.c | th->urg_ptr = htons(urg_ptr); |
th | 5070 | net/ipv4/tcp.c | if(th->urg && ntohs(th->urg_ptr) < win_size) |
th | 129 | net/ipv4/udp.c | struct udphdr *th; |
th | 139 | net/ipv4/udp.c | th = (struct udphdr *)header; |
th | 141 | net/ipv4/udp.c | sk = get_sock(&udp_prot, th->source, daddr, th->dest, saddr); |