| tag | line | file | source code |
| icmph | 152 | net/ipv4/icmp.c | void (*handler)(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, __u32 saddr, __u32 daddr, int len); |
| icmph | 166 | net/ipv4/icmp.c | struct icmphdr icmph; |
| icmph | 204 | net/ipv4/icmp.c | struct icmphdr *icmph; |
| icmph | 218 | net/ipv4/icmp.c | csum = csum_partial_copy((void *)&icmp_param->icmph, |
| icmph | 224 | net/ipv4/icmp.c | icmph=(struct icmphdr *)to; |
| icmph | 225 | net/ipv4/icmp.c | icmph->checksum = csum_fold(csum); |
| icmph | 235 | net/ipv4/icmp.c | icmp_param->icmph.checksum=0; |
| icmph | 237 | net/ipv4/icmp.c | icmp_out_count(icmp_param->icmph.type); |
| icmph | 257 | net/ipv4/icmp.c | struct icmphdr *icmph; |
| icmph | 303 | net/ipv4/icmp.c | icmph = (struct icmphdr *)((char *)iph + (iph->ihl<<2)); |
| icmph | 308 | net/ipv4/icmp.c | if(icmph->type>18 || icmp_pointers[icmph->type].error) |
| icmph | 321 | net/ipv4/icmp.c | icmp_param.icmph.type=type; |
| icmph | 322 | net/ipv4/icmp.c | icmp_param.icmph.code=code; |
| icmph | 323 | net/ipv4/icmp.c | icmp_param.icmph.un.gateway = info; |
| icmph | 340 | net/ipv4/icmp.c | static void icmp_unreach(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, __u32 saddr, __u32 daddr, int len) |
| icmph | 347 | net/ipv4/icmp.c | iph = (struct iphdr *) (icmph + 1); |
| icmph | 351 | net/ipv4/icmp.c | if(icmph->type==ICMP_DEST_UNREACH) |
| icmph | 353 | net/ipv4/icmp.c | switch(icmph->code & 15) |
| icmph | 373 | net/ipv4/icmp.c | unsigned short new_mtu = ntohs(icmph->un.echo.sequence); |
| icmph | 428 | net/ipv4/icmp.c | if(icmph->code>12) /* Invalid type */ |
| icmph | 468 | net/ipv4/icmp.c | ipprot->err_handler(icmph->type, icmph->code, dp, |
| icmph | 482 | net/ipv4/icmp.c | static void icmp_redirect(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, __u32 source, __u32 daddr, int len) |
| icmph | 491 | net/ipv4/icmp.c | iph = (struct iphdr *) (icmph + 1); |
| icmph | 500 | net/ipv4/icmp.c | in_ntoa(source), in_ntoa(icmph->un.gateway), dev->name); |
| icmph | 502 | net/ipv4/icmp.c | switch(icmph->code & 7) |
| icmph | 512 | net/ipv4/icmp.c | ip, 0, icmph->un.gateway, dev,0, 0, 0); |
| icmph | 529 | net/ipv4/icmp.c | ip_rt_redirect(source, ip, icmph->un.gateway, dev); |
| icmph | 554 | net/ipv4/icmp.c | static void icmp_echo(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, __u32 saddr, __u32 daddr, int len) |
| icmph | 557 | net/ipv4/icmp.c | icmp_param.icmph=*icmph; |
| icmph | 558 | net/ipv4/icmp.c | icmp_param.icmph.type=ICMP_ECHOREPLY; |
| icmph | 559 | net/ipv4/icmp.c | icmp_param.data_ptr=(icmph+1); |
| icmph | 574 | net/ipv4/icmp.c | static void icmp_timestamp(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, __u32 saddr, __u32 daddr, int len) |
| icmph | 600 | net/ipv4/icmp.c | memcpy((void *)×[0], icmph+1, 4); /* Incoming stamp */ |
| icmph | 601 | net/ipv4/icmp.c | icmp_param.icmph=*icmph; |
| icmph | 602 | net/ipv4/icmp.c | icmp_param.icmph.type=ICMP_TIMESTAMPREPLY; |
| icmph | 603 | net/ipv4/icmp.c | icmp_param.icmph.code=0; |
| icmph | 624 | net/ipv4/icmp.c | static void icmp_address(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, __u32 saddr, __u32 daddr, int len) |
| icmph | 629 | net/ipv4/icmp.c | icmp_param.icmph.type=ICMP_ADDRESSREPLY; |
| icmph | 630 | net/ipv4/icmp.c | icmp_param.icmph.code=0; |
| icmph | 631 | net/ipv4/icmp.c | icmp_param.icmph.un.echo.id = icmph->un.echo.id; |
| icmph | 632 | net/ipv4/icmp.c | icmp_param.icmph.un.echo.sequence = icmph->un.echo.sequence; |
| icmph | 641 | net/ipv4/icmp.c | static void icmp_discard(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, __u32 saddr, __u32 daddr, int len) |
| icmph | 654 | net/ipv4/icmp.c | struct icmphdr *icmph=(void *)skb->h.raw; |
| icmph | 661 | net/ipv4/icmp.c | if (ip_compute_csum((unsigned char *) icmph, len)) |
| icmph | 676 | net/ipv4/icmp.c | if(icmph->type > 18) |
| icmph | 694 | net/ipv4/icmp.c | if (icmph->type != ICMP_ECHO) |
| icmph | 709 | net/ipv4/icmp.c | (*icmp_pointers[icmph->type].input)++; |
| icmph | 710 | net/ipv4/icmp.c | (icmp_pointers[icmph->type].handler)(icmph,skb,skb->dev,saddr,daddr,len); |