taglinefilesource code
iph1128drivers/net/ppp.cstruct iphdr *iph = (struct iphdr *) c;
iph1130drivers/net/ppp.ciph->saddr, iph->daddr, count))
iph1761drivers/net/ppp.cstruct iphdr *iph = (struct iphdr *) (skb + 1);
iph1763drivers/net/ppp.cdev->name, (int) proto, (int) len, (int) iph->saddr,
iph1764drivers/net/ppp.c(int) iph->daddr, (int) iph->protocol))
iph81drivers/net/slhc.cextern int ip_csum(struct iphdr *iph);
iph53include/linux/skbuff.hstruct iphdr  *iph;
iph95net/inet/icmp.cstruct iphdr *iph;
iph105net/inet/icmp.ciph = (struct iphdr *) (skb_in->data + dev->hard_header_len);
iph113net/inet/icmp.cif(iph->protocol==IPPROTO_ICMP)
iph178net/inet/icmp.coffset = ip_build_header(skb, dev->pa_addr, iph->saddr,
iph204net/inet/icmp.cmemcpy(icmph + 1, iph, sizeof(struct iphdr) + 8);
iph223net/inet/icmp.cstruct iphdr *iph;
iph228net/inet/icmp.ciph = (struct iphdr *) (icmph + 1);
iph238net/inet/icmp.cin_ntoa(iph->daddr), ntohs(iph->protocol));
iph244net/inet/icmp.cin_ntoa(iph->daddr));
iph247net/inet/icmp.cprintk("ICMP: %s: Source Route Failed.\n", in_ntoa(iph->daddr));
iph257net/inet/icmp.chash = iph->protocol & (MAX_INET_PROTOS -1);
iph273net/inet/icmp.cif (iph->protocol == ipprot->protocol && ipprot->err_handler) 
iph276net/inet/icmp.ciph->daddr, iph->saddr, ipprot);
iph293net/inet/icmp.cstruct iphdr *iph;
iph300net/inet/icmp.ciph = (struct iphdr *) (icmph + 1);
iph301net/inet/icmp.cip = iph->daddr;
iph121net/inet/ip.cstrict_route(struct iphdr *iph, struct options *opt)
iph127net/inet/ip.cloose_route(struct iphdr *iph, struct options *opt)
iph144net/inet/ip.cbuild_options(struct iphdr *iph, struct options *opt)
iph148net/inet/ip.cptr = (unsigned char *)(iph+1);
iph194net/inet/ip.cstruct iphdr *iph;
iph291net/inet/ip.ciph = (struct iphdr *)buff;
iph292net/inet/ip.ciph->version  = 4;
iph293net/inet/ip.ciph->tos      = tos;
iph294net/inet/ip.ciph->frag_off = 0;
iph295net/inet/ip.ciph->ttl      = ttl;
iph296net/inet/ip.ciph->daddr    = daddr;
iph297net/inet/ip.ciph->saddr    = saddr;
iph298net/inet/ip.ciph->protocol = type;
iph299net/inet/ip.ciph->ihl      = 5;
iph303net/inet/ip.cbuild_options(iph, opt);
iph311net/inet/ip.cdo_options(struct iphdr *iph, struct options *opt)
iph330net/inet/ip.cbuff = (unsigned char *)(iph + 1);
iph333net/inet/ip.cwhile (!done && len < iph->ihl*4) switch(*buff) {
iph444net/inet/ip.cstrict_route(iph, opt);
iph450net/inet/ip.cloose_route(iph, opt);
iph539net/inet/ip.cint ip_csum(struct iphdr *iph)
iph541net/inet/ip.creturn ip_fast_csum((unsigned char *)iph, iph->ihl);
iph548net/inet/ip.cstatic void ip_send_check(struct iphdr *iph)
iph550net/inet/ip.ciph->check = 0;
iph551net/inet/ip.ciph->check = ip_fast_csum((unsigned char *)iph, iph->ihl);
iph596net/inet/ip.cstatic struct ipq *ip_find(struct iphdr *iph)
iph605net/inet/ip.cif (iph->id== qp->iph->id && iph->saddr == qp->iph->saddr &&
iph606net/inet/ip.ciph->daddr == qp->iph->daddr && iph->protocol == qp->iph->protocol) 
iph666net/inet/ip.ckfree_s(qp->iph, qp->ihlen + 8);
iph709net/inet/ip.cstatic struct ipq *ip_create(struct sk_buff *skb, struct iphdr *iph, struct device *dev)
iph731net/inet/ip.cmaclen = ((unsigned long) iph) - ((unsigned long) skb->data);
iph744net/inet/ip.cihlen = (iph->ihl * sizeof(unsigned long));
iph745net/inet/ip.cqp->iph = (struct iphdr *) kmalloc(ihlen + 8, GFP_ATOMIC);
iph746net/inet/ip.cif (qp->iph == NULL) 
iph756net/inet/ip.cmemcpy(qp->iph, iph, ihlen + 8);
iph822net/inet/ip.cstruct iphdr *iph;
iph850net/inet/ip.cmemcpy(ptr, ((unsigned char *) qp->iph), qp->ihlen);
iph877net/inet/ip.ciph = skb->h.iph;
iph878net/inet/ip.ciph->frag_off = 0;
iph879net/inet/ip.ciph->tot_len = htons((iph->ihl * sizeof(unsigned long)) + count);
iph880net/inet/ip.cskb->ip_hdr = iph;
iph891net/inet/ip.cstatic struct sk_buff *ip_defrag(struct iphdr *iph, struct sk_buff *skb, struct device *dev)
iph904net/inet/ip.cqp = ip_find(iph);
iph907net/inet/ip.coffset = ntohs(iph->frag_off);
iph938net/inet/ip.cif ((qp = ip_create(skb, iph, dev)) == NULL) 
iph951net/inet/ip.cihl = (iph->ihl * sizeof(unsigned long));
iph952net/inet/ip.cend = offset + ntohs(iph->tot_len) - ihl;
iph1086net/inet/ip.cstruct iphdr *iph;
iph1099net/inet/ip.ciph = (struct iphdr *) (raw + dev->hard_header_len);
iph1101net/inet/ip.cskb->ip_hdr = iph;
iph1107net/inet/ip.chlen = (iph->ihl * sizeof(unsigned long));
iph1108net/inet/ip.cleft = ntohs(iph->tot_len) - hlen;  /* Space per frame */
iph1117net/inet/ip.cif (ntohs(iph->frag_off) & IP_DF) 
iph1148net/inet/ip.coffset = (ntohs(iph->frag_off) & 0x1fff) << 3;
iph1223net/inet/ip.ciph = (struct iphdr *)(skb2->h.raw/*+dev->hard_header_len*/);
iph1224net/inet/ip.ciph->frag_off = htons((offset >> 3));
iph1230net/inet/ip.ciph->frag_off |= htons(IP_MF);
iph1256net/inet/ip.cstruct iphdr *iph;  /* Our header */
iph1273net/inet/ip.ciph = skb->h.iph;
iph1274net/inet/ip.ciph->ttl--;
iph1275net/inet/ip.cif (iph->ttl <= 0) 
iph1288net/inet/ip.cip_send_check(iph);
iph1295net/inet/ip.crt = ip_rt_route(iph->daddr, NULL, NULL);
iph1336net/inet/ip.craddr = iph->daddr;
iph1411net/inet/ip.cif(iph->tos & IPTOS_LOWDELAY)
iph1413net/inet/ip.celse if(iph->tos & IPTOS_THROUGHPUT)
iph1430net/inet/ip.cstruct iphdr *iph = skb->h.iph;
iph1447net/inet/ip.cskb->ip_hdr = iph;
iph1458net/inet/ip.cif (skb->len<sizeof(struct iphdr) || iph->ihl<5 || iph->version != 4 || ip_fast_csum((unsigned char *)iph, iph->ihl) !=0) 
iph1470net/inet/ip.cskb->len=ntohs(iph->tot_len);
iph1477net/inet/ip.cif (iph->ihl != 5) 
iph1480net/inet/ip.cif (do_options(iph, &opt) != 0)
iph1489net/inet/ip.cif (iph->frag_off & 0x0020)
iph1496net/inet/ip.cif (ntohs(iph->frag_off) & 0x1fff)
iph1507net/inet/ip.cif ((brd = ip_chk_addr(iph->daddr)) == 0) 
iph1546net/inet/ip.cskb=ip_defrag(iph,skb,dev);
iph1549net/inet/ip.ciph=skb->h.iph;
iph1556net/inet/ip.cskb->ip_hdr = iph;
iph1557net/inet/ip.cskb->h.raw += iph->ihl*4;
iph1563net/inet/ip.chash = iph->protocol & (MAX_INET_PROTOS -1);
iph1568net/inet/ip.cif (ipprot->protocol != iph->protocol) 
iph1597net/inet/ip.cipprot->handler(skb2, dev, opts_p ? &opt : 0, iph->daddr,
iph1598net/inet/ip.c(ntohs(iph->tot_len) - (iph->ihl * 4)),
iph1599net/inet/ip.ciph->saddr, 0, ipprot);
iph1633net/inet/ip.cstruct iphdr *iph;
iph1663net/inet/ip.ciph = (struct iphdr *)ptr;
iph1664net/inet/ip.cskb->ip_hdr = iph;
iph1665net/inet/ip.ciph->tot_len = ntohs(skb->len-dev->hard_header_len);
iph1672net/inet/ip.ciph->id      = htons(ip_id_count++);
iph1700net/inet/ip.cip_send_check(iph);
iph1825net/inet/ip.cstruct iphdr *iph;
iph1828net/inet/ip.ciph = (struct iphdr *)(skb->data + dev->hard_header_len);
iph1829net/inet/ip.cth = (struct tcphdr *)(((char *)iph) + (iph->ihl << 2));
iph1832net/inet/ip.ciph->id = htons(ip_id_count++);
iph1833net/inet/ip.cip_send_check(iph);
iph54net/inet/ip.hstruct iphdr  *iph;    /* pointer to IP header      */
iph250net/inet/raw.cstruct iphdr *iph;
iph255net/inet/raw.ciph = (struct iphdr *)buff;
iph256net/inet/raw.ciph->saddr = sk->saddr;
iph265net/inet/tcp.cstruct iphdr *iph=(struct iphdr *)header;
iph267net/inet/tcp.cheader+=4*iph->ihl;
iph2407net/inet/tcp.cstruct iphdr *iph;
iph2416net/inet/tcp.ciph = (struct iphdr *)(skb->data +
iph2418net/inet/tcp.cth = (struct tcphdr *)(((char *)iph) +(iph->ihl << 2));