tag | line | file | source code |
ip_hdr | 260 | drivers/net/new_tunnel.c | new_skb->ip_hdr = (struct iphdr *) skb_put(new_skb, skb->len); |
ip_hdr | 261 | drivers/net/new_tunnel.c | memcpy(new_skb->ip_hdr, skb->data, skb->len); |
ip_hdr | 279 | drivers/net/new_tunnel.c | iph->tos = skb->ip_hdr->tos; |
ip_hdr | 280 | drivers/net/new_tunnel.c | iph->ttl = skb->ip_hdr->ttl; |
ip_hdr | 289 | drivers/net/new_tunnel.c | skb->ip_hdr = skb->h.iph; |
ip_hdr | 79 | include/linux/skbuff.h | struct iphdr *ip_hdr; /* For IPPROTO_RAW */ |
ip_hdr | 805 | net/core/skbuff.c | n->ip_hdr=(struct iphdr *)(((char *)skb->ip_hdr)+offset); |
ip_hdr | 266 | net/ipv4/icmp.c | iph = skb_in->ip_hdr; |
ip_hdr | 450 | net/ipv4/igmp.c | if(skb->len <sizeof(struct igmphdr) || skb->ip_hdr->ttl>1 || ip_compute_csum((void *)skb->h.raw,sizeof(struct igmphdr))) |
ip_hdr | 59 | net/ipv4/ip_forward.c | iph->tos = skb->ip_hdr->tos; |
ip_hdr | 60 | net/ipv4/ip_forward.c | iph->ttl = skb->ip_hdr->ttl; |
ip_hdr | 317 | net/ipv4/ip_forward.c | iph = skb2->ip_hdr = skb2->h.iph; |
ip_hdr | 386 | net/ipv4/ip_fragment.c | skb->ip_hdr = iph; |
ip_hdr | 622 | net/ipv4/ip_fragment.c | skb->ip_hdr = iph; |
ip_hdr | 624 | net/ipv4/ip_fragment.c | iph = skb->ip_hdr; |
ip_hdr | 746 | net/ipv4/ip_fragment.c | skb2->ip_hdr = iph; |
ip_hdr | 235 | net/ipv4/ip_input.c | skb->ip_hdr = iph; |
ip_hdr | 465 | net/ipv4/ip_input.c | skb->ip_hdr = iph; |
ip_hdr | 33 | net/ipv4/ip_options.c | unsigned char * iph = (unsigned char*)skb->ip_hdr; |
ip_hdr | 95 | net/ipv4/ip_options.c | (unsigned char *)skb->ip_hdr); |
ip_hdr | 196 | net/ipv4/ip_options.c | unsigned char * optptr = (unsigned char*)skb->ip_hdr; |
ip_hdr | 246 | net/ipv4/ip_options.c | iph = (unsigned char*)skb->ip_hdr; |
ip_hdr | 253 | net/ipv4/ip_options.c | optptr = opt->is_data ? opt->__data : (unsigned char*)&skb->ip_hdr[1]; |
ip_hdr | 72 | net/ipv4/ip_output.c | int len=ntohs(skb->ip_hdr->tot_len); |
ip_hdr | 92 | net/ipv4/ip_output.c | ip_send(NULL,newskb, skb->ip_hdr->daddr, len, dev, skb->ip_hdr->saddr); |
ip_hdr | 96 | net/ipv4/ip_output.c | newskb->ip_hdr=(struct iphdr *)skb_put(newskb, len); |
ip_hdr | 102 | net/ipv4/ip_output.c | memcpy(newskb->ip_hdr,skb->ip_hdr,len); |
ip_hdr | 300 | net/ipv4/ip_output.c | skb->ip_hdr = iph; |
ip_hdr | 360 | net/ipv4/ip_output.c | iph = skb->ip_hdr; |
ip_hdr | 499 | net/ipv4/ip_output.c | if(skb->ip_hdr->ttl==0) |
ip_hdr | 678 | net/ipv4/ip_output.c | skb->ip_hdr=iph=(struct iphdr *)skb_put(skb,length); |
ip_hdr | 858 | net/ipv4/ip_output.c | skb->ip_hdr = iph = (struct iphdr *)data; |
ip_hdr | 963 | net/ipv4/ip_output.c | if(skb->ip_hdr->ttl==0) |
ip_hdr | 75 | net/ipv4/ipip.c | skb->ip_hdr=(struct iphdr *)skb->data; |
ip_hdr | 77 | net/ipv4/ipip.c | if (skb->ip_hdr->ihl > 5) |
ip_hdr | 88 | net/ipv4/ipip.c | if((err=call_in_firewall(PF_INET, skb->dev, skb->ip_hdr))<FW_ACCEPT) |
ip_hdr | 256 | net/ipv4/ipmr.c | int ihl=pkt->ip_hdr->ihl<<2; |
ip_hdr | 267 | net/ipv4/ipmr.c | skb->ip_hdr=(struct iphdr *)skb_put(skb,ihl); |
ip_hdr | 268 | net/ipv4/ipmr.c | skb->h.iph=skb->ip_hdr; |
ip_hdr | 270 | net/ipv4/ipmr.c | skb->ip_hdr->protocol = 0; /* Flag to the kernel this is a route add */ |
ip_hdr | 279 | net/ipv4/ipmr.c | skb->ip_hdr->tot_len=htons(skb->len); /* Fix the length */ |
ip_hdr | 312 | net/ipv4/ipmr.c | cache->mfc_origin=skb->ip_hdr->saddr; |
ip_hdr | 313 | net/ipv4/ipmr.c | cache->mfc_mcastgrp=skb->ip_hdr->daddr; |
ip_hdr | 742 | net/ipv4/ipmr.c | cache=ipmr_cache_find(skb->ip_hdr->saddr,skb->ip_hdr->daddr); |
ip_hdr | 761 | net/ipv4/ipmr.c | if(skb->ip_hdr->ttl > cache->mfc_ttls[ct] && cache->mfc_ttls[ct]>0) |
ip_hdr | 123 | net/ipv4/raw.c | skb_trim(skb,ntohs(skb->ip_hdr->tot_len)); |
ip_hdr | 125 | net/ipv4/raw.c | skb->h.raw = (unsigned char *) skb->ip_hdr; |
ip_hdr | 137 | net/ipv4/raw.c | skb->ip_hdr->tot_len=ntohs(skb->ip_hdr->tot_len-4*skb->ip_hdr->ihl); |
ip_hdr | 1117 | net/ipv4/tcp.c | skb->ip_hdr->frag_off |= htons(IP_DF); |
ip_hdr | 463 | net/ipv4/tcp_input.c | newsk->ip_tos=skb->ip_hdr->tos; |
ip_hdr | 1861 | net/ipv4/tcp_input.c | tcp_send_reset(daddr,saddr,th, &tcp_prot, opt, dev, skb->ip_hdr->tos, 255); |
ip_hdr | 1924 | net/ipv4/tcp_input.c | tcp_send_reset(daddr, saddr, th, &tcp_prot, opt,dev,skb->ip_hdr->tos,255); |
ip_hdr | 279 | net/ipv4/tcp_output.c | iph = skb->ip_hdr; |
ip_hdr | 358 | net/ipv4/tcp_output.c | skb_pull(skb,((unsigned char *)skb->ip_hdr)-skb->data); |
ip_hdr | 934 | net/ipv4/tcp_output.c | iph = (struct iphdr *)skb->ip_hdr; |