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;
iph123net/inet/ip.cstrict_route(struct iphdr *iph, struct options *opt)
iph129net/inet/ip.cloose_route(struct iphdr *iph, struct options *opt)
iph146net/inet/ip.cbuild_options(struct iphdr *iph, struct options *opt)
iph150net/inet/ip.cptr = (unsigned char *)(iph+1);
iph196net/inet/ip.cstruct iphdr *iph;
iph293net/inet/ip.ciph = (struct iphdr *)buff;
iph294net/inet/ip.ciph->version  = 4;
iph295net/inet/ip.ciph->tos      = tos;
iph296net/inet/ip.ciph->frag_off = 0;
iph297net/inet/ip.ciph->ttl      = ttl;
iph298net/inet/ip.ciph->daddr    = daddr;
iph299net/inet/ip.ciph->saddr    = saddr;
iph300net/inet/ip.ciph->protocol = type;
iph301net/inet/ip.ciph->ihl      = 5;
iph305net/inet/ip.cbuild_options(iph, opt);
iph313net/inet/ip.cdo_options(struct iphdr *iph, struct options *opt)
iph332net/inet/ip.cbuff = (unsigned char *)(iph + 1);
iph335net/inet/ip.cwhile (!done && len < iph->ihl*4) switch(*buff) {
iph446net/inet/ip.cstrict_route(iph, opt);
iph452net/inet/ip.cloose_route(iph, opt);
iph541net/inet/ip.cint ip_csum(struct iphdr *iph)
iph543net/inet/ip.creturn ip_fast_csum((unsigned char *)iph, iph->ihl);
iph550net/inet/ip.cstatic void ip_send_check(struct iphdr *iph)
iph552net/inet/ip.ciph->check = 0;
iph553net/inet/ip.ciph->check = ip_fast_csum((unsigned char *)iph, iph->ihl);
iph598net/inet/ip.cstatic struct ipq *ip_find(struct iphdr *iph)
iph607net/inet/ip.cif (iph->id== qp->iph->id && iph->saddr == qp->iph->saddr &&
iph608net/inet/ip.ciph->daddr == qp->iph->daddr && iph->protocol == qp->iph->protocol)
iph668net/inet/ip.ckfree_s(qp->iph, qp->ihlen + 8);
iph711net/inet/ip.cstatic struct ipq *ip_create(struct sk_buff *skb, struct iphdr *iph, struct device *dev)
iph733net/inet/ip.cmaclen = ((unsigned long) iph) - ((unsigned long) skb->data);
iph746net/inet/ip.cihlen = (iph->ihl * sizeof(unsigned long));
iph747net/inet/ip.cqp->iph = (struct iphdr *) kmalloc(ihlen + 8, GFP_ATOMIC);
iph748net/inet/ip.cif (qp->iph == NULL)
iph758net/inet/ip.cmemcpy(qp->iph, iph, ihlen + 8);
iph824net/inet/ip.cstruct iphdr *iph;
iph852net/inet/ip.cmemcpy(ptr, ((unsigned char *) qp->iph), qp->ihlen);
iph879net/inet/ip.ciph = skb->h.iph;
iph880net/inet/ip.ciph->frag_off = 0;
iph881net/inet/ip.ciph->tot_len = htons((iph->ihl * sizeof(unsigned long)) + count);
iph882net/inet/ip.cskb->ip_hdr = iph;
iph893net/inet/ip.cstatic struct sk_buff *ip_defrag(struct iphdr *iph, struct sk_buff *skb, struct device *dev)
iph906net/inet/ip.cqp = ip_find(iph);
iph909net/inet/ip.coffset = ntohs(iph->frag_off);
iph940net/inet/ip.cif ((qp = ip_create(skb, iph, dev)) == NULL)
iph953net/inet/ip.cihl = (iph->ihl * sizeof(unsigned long));
iph954net/inet/ip.cend = offset + ntohs(iph->tot_len) - ihl;
iph1087net/inet/ip.cstruct iphdr *iph;
iph1100net/inet/ip.ciph = (struct iphdr *) (raw + dev->hard_header_len);
iph1102net/inet/ip.cskb->ip_hdr = iph;
iph1108net/inet/ip.chlen = (iph->ihl * sizeof(unsigned long));
iph1109net/inet/ip.cleft = ntohs(iph->tot_len) - hlen;  /* Space per frame */
iph1118net/inet/ip.cif (ntohs(iph->frag_off) & IP_DF)
iph1149net/inet/ip.coffset = (ntohs(iph->frag_off) & 0x1fff) << 3;
iph1224net/inet/ip.ciph = (struct iphdr *)(skb2->h.raw/*+dev->hard_header_len*/);
iph1225net/inet/ip.ciph->frag_off = htons((offset >> 3));
iph1231net/inet/ip.ciph->frag_off |= htons(IP_MF);
iph1257net/inet/ip.cstruct iphdr *iph;  /* Our header */
iph1274net/inet/ip.ciph = skb->h.iph;
iph1275net/inet/ip.ciph->ttl--;
iph1276net/inet/ip.cif (iph->ttl <= 0)
iph1289net/inet/ip.cip_send_check(iph);
iph1296net/inet/ip.crt = ip_rt_route(iph->daddr, NULL, NULL);
iph1337net/inet/ip.craddr = iph->daddr;
iph1412net/inet/ip.cif(iph->tos & IPTOS_LOWDELAY)
iph1414net/inet/ip.celse if(iph->tos & IPTOS_THROUGHPUT)
iph1431net/inet/ip.cstruct iphdr *iph = skb->h.iph;
iph1448net/inet/ip.cskb->ip_hdr = iph;
iph1459net/inet/ip.cif (skb->len<sizeof(struct iphdr) || iph->ihl<5 || iph->version != 4 || ip_fast_csum((unsigned char *)iph, iph->ihl) !=0)
iph1471net/inet/ip.cskb->len=ntohs(iph->tot_len);
iph1478net/inet/ip.cif (iph->ihl != 5)
iph1481net/inet/ip.cif (do_options(iph, &opt) != 0)
iph1490net/inet/ip.cif (iph->frag_off & 0x0020)
iph1497net/inet/ip.cif (ntohs(iph->frag_off) & 0x1fff)
iph1512net/inet/ip.cif ( iph->daddr != skb->dev->pa_addr && (brd = ip_chk_addr(iph->daddr)) == 0)
iph1551net/inet/ip.cskb=ip_defrag(iph,skb,dev);
iph1554net/inet/ip.ciph=skb->h.iph;
iph1561net/inet/ip.cskb->ip_hdr = iph;
iph1562net/inet/ip.cskb->h.raw += iph->ihl*4;
iph1568net/inet/ip.chash = iph->protocol & (MAX_INET_PROTOS -1);
iph1573net/inet/ip.cif (ipprot->protocol != iph->protocol)
iph1602net/inet/ip.cipprot->handler(skb2, dev, opts_p ? &opt : 0, iph->daddr,
iph1603net/inet/ip.c(ntohs(iph->tot_len) - (iph->ihl * 4)),
iph1604net/inet/ip.ciph->saddr, 0, ipprot);
iph1638net/inet/ip.cstruct iphdr *iph;
iph1668net/inet/ip.ciph = (struct iphdr *)ptr;
iph1669net/inet/ip.cskb->ip_hdr = iph;
iph1670net/inet/ip.ciph->tot_len = ntohs(skb->len-dev->hard_header_len);
iph1677net/inet/ip.ciph->id      = htons(ip_id_count++);
iph1705net/inet/ip.cip_send_check(iph);
iph1830net/inet/ip.cstruct iphdr *iph;
iph1833net/inet/ip.ciph = (struct iphdr *)(skb->data + dev->hard_header_len);
iph1834net/inet/ip.cth = (struct tcphdr *)(((char *)iph) + (iph->ihl << 2));
iph1837net/inet/ip.ciph->id = htons(ip_id_count++);
iph1838net/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;
iph312net/inet/tcp.cstruct iphdr *iph=(struct iphdr *)header;
iph314net/inet/tcp.cheader+=4*iph->ihl;
iph2459net/inet/tcp.cstruct iphdr *iph;
iph2468net/inet/tcp.ciph = (struct iphdr *)(skb->data +
iph2470net/inet/tcp.cth = (struct tcphdr *)(((char *)iph) +(iph->ihl << 2));