taglinefilesource code
iph123net/tcp/icmp.cstruct ip_header *iph;
iph147net/tcp/icmp.ciph = (struct ip_header *)(skb_in+1);
iph148net/tcp/icmp.ciph = (struct ip_header *)((unsigned char *)iph + dev->hard_header_len);
iph151net/tcp/icmp.coffset = ip_build_header( skb, iph->daddr, iph->saddr,
iph169net/tcp/icmp.cmemcpy (icmph+1, iph+1, 8);
iph221net/tcp/icmp.cstruct ip_header *iph;
iph230net/tcp/icmp.ciph = (struct ip_header *)(icmph+1);
iph233net/tcp/icmp.chash = iph->protocol & (MAX_IP_PROTOS -1 );
iph242net/tcp/icmp.cif (iph->protocol == ipprot->protocol && ipprot->err_handler)
iph244net/tcp/icmp.ciph->daddr, iph->saddr, ipprot);
iph257net/tcp/icmp.cstruct ip_header *iph;
iph259net/tcp/icmp.ciph = (struct ip_header *)(icmph+1);
iph263net/tcp/icmp.crt->net = iph->daddr;
iph228net/tcp/ip.cstrict_route(struct ip_header *iph, struct options *opt)
iph233net/tcp/ip.cloose_route(struct ip_header *iph, struct options *opt)
iph498net/tcp/ip.cbuild_options (struct ip_header *iph, struct options *opt)
iph502net/tcp/ip.cptr = (unsigned char *)(iph+1);
iph519net/tcp/ip.cstruct ip_header *iph;
iph570net/tcp/ip.ciph = (struct ip_header *)buff;
iph571net/tcp/ip.ciph->version = 4;
iph572net/tcp/ip.ciph->tos = 0;
iph573net/tcp/ip.ciph->frag_off = 0;
iph574net/tcp/ip.ciph->ttl = 32;
iph575net/tcp/ip.ciph->daddr = daddr;
iph576net/tcp/ip.ciph->saddr = saddr;
iph577net/tcp/ip.ciph->protocol=type;
iph578net/tcp/ip.ciph->ihl = 5;
iph579net/tcp/ip.ciph->id = net16(count++);
iph585net/tcp/ip.cdo_options(struct ip_header *iph, struct options *opt)
iph589net/tcp/ip.cint len=sizeof (*iph);
iph603net/tcp/ip.cbuff = (unsigned char *)(iph + 1);
iph606net/tcp/ip.cwhile (!done && len < iph->ihl*4)
iph733net/tcp/ip.cstrict_route (iph, opt);
iph740net/tcp/ip.cloose_route (iph, opt);
iph796net/tcp/ip.cip_csum(struct ip_header *iph)
iph798net/tcp/ip.cif (iph->check == 0) return (0);
iph799net/tcp/ip.cif (ip_compute_csum((unsigned char *)iph, iph->ihl*4) == 0)  return (0);
iph804net/tcp/ip.cip_send_check(struct ip_header *iph)
iph806net/tcp/ip.ciph->check = 0;
iph807net/tcp/ip.ciph->check = ip_compute_csum((unsigned char *)iph, iph->ihl*4);
iph813net/tcp/ip.cstruct ip_header *iph;
iph820net/tcp/ip.ciph=skb->h.iph;
iph823net/tcp/ip.cprint_iph(iph);
iph825net/tcp/ip.cif (ip_csum (iph) || do_options (iph,&opt) || iph->version != 4)
iph834net/tcp/ip.cif (!my_ip_addr(iph->daddr))
iph837net/tcp/ip.cPRINTK(("    SRC = %s   ", in_ntoa(iph->saddr)));
iph838net/tcp/ip.cPRINTK(("    DST = %s (ignored)\n", in_ntoa(iph->daddr)));
iph847net/tcp/ip.cif ((iph->frag_off & 32) || (net16(iph->frag_off)&0x1fff))
iph850net/tcp/ip.cprintk("    SRC = %s   ", in_ntoa(iph->saddr));
iph851net/tcp/ip.cprintk("    DST = %s (ignored)\n", in_ntoa(iph->daddr));
iph858net/tcp/ip.cskb->h.raw += iph->ihl*4;
iph860net/tcp/ip.chash = iph->protocol & (MAX_IP_PROTOS -1);
iph866net/tcp/ip.cif (ipprot->protocol != iph->protocol) continue;
iph891net/tcp/ip.cipprot->handler (skb2, dev, &opt, iph->daddr,
iph892net/tcp/ip.cnet16(iph->tot_len) - iph->ihl*4,
iph893net/tcp/ip.ciph->saddr, 0, ipprot);
iph917net/tcp/ip.cstruct ip_header *iph;
iph933net/tcp/ip.ciph = (struct ip_header *)ptr;
iph934net/tcp/ip.ciph->tot_len = net16(skb->len-dev->hard_header_len);
iph935net/tcp/ip.cip_send_check (iph);
iph936net/tcp/ip.cprint_iph(iph);
iph177net/tcp/sock.hstruct ip_header *iph;