tag | line | file | source code |
icmph | 95 | include/net/head_explode.h | extern __inline__ unsigned char *icmp_explode(unsigned char *icmph, struct icmp_header *icmp) |
icmph | 99 | include/net/head_explode.h | icmph=exp_getn16(icmph,&icmp->checksum); |
icmph | 101 | include/net/head_explode.h | exp_getu32(icmph,&icmp->gateway); |
icmph | 102 | include/net/head_explode.h | icmph=exp_getu16(icmph,&icmp->id); |
icmph | 103 | include/net/head_explode.h | icmph=exp_getu16(icmph,&icmp->sequence); |
icmph | 104 | include/net/head_explode.h | return icmph; |
icmph | 105 | net/ipv4/icmp.c | struct icmphdr *icmph; |
icmph | 152 | net/ipv4/icmp.c | icmph = (struct icmphdr *) ((char *) iph + |
icmph | 159 | net/ipv4/icmp.c | if (icmph->type == ICMP_DEST_UNREACH || |
icmph | 160 | net/ipv4/icmp.c | icmph->type == ICMP_SOURCE_QUENCH || |
icmph | 161 | net/ipv4/icmp.c | icmph->type == ICMP_REDIRECT || |
icmph | 162 | net/ipv4/icmp.c | icmph->type == ICMP_TIME_EXCEEDED || |
icmph | 163 | net/ipv4/icmp.c | icmph->type == ICMP_PARAMETERPROB) |
icmph | 252 | net/ipv4/icmp.c | icmph = (struct icmphdr *) (skb->data + offset); |
icmph | 253 | net/ipv4/icmp.c | icmph->type = type; |
icmph | 254 | net/ipv4/icmp.c | icmph->code = code; |
icmph | 255 | net/ipv4/icmp.c | icmph->checksum = 0; |
icmph | 256 | net/ipv4/icmp.c | icmph->un.gateway = info; /* This might not be meant for |
icmph | 259 | net/ipv4/icmp.c | memcpy(icmph + 1, iph, sizeof(struct iphdr) + 8); |
icmph | 261 | net/ipv4/icmp.c | icmph->checksum = ip_compute_csum((unsigned char *)icmph, |
icmph | 275 | net/ipv4/icmp.c | static void icmp_unreach(struct icmphdr *icmph, struct sk_buff *skb) |
icmph | 282 | net/ipv4/icmp.c | err = (icmph->type << 8) | icmph->code; |
icmph | 283 | net/ipv4/icmp.c | iph = (struct iphdr *) (icmph + 1); |
icmph | 285 | net/ipv4/icmp.c | switch(icmph->code & 7) |
icmph | 336 | net/ipv4/icmp.c | ipprot->err_handler(err, (unsigned char *)(icmph + 1), |
icmph | 350 | net/ipv4/icmp.c | static void icmp_redirect(struct icmphdr *icmph, struct sk_buff *skb, |
icmph | 361 | net/ipv4/icmp.c | iph = (struct iphdr *) (icmph + 1); |
icmph | 370 | net/ipv4/icmp.c | switch(icmph->code & 7) |
icmph | 380 | net/ipv4/icmp.c | ip, 0, icmph->un.gateway, dev,0, 0); |
icmph | 396 | net/ipv4/icmp.c | ((icmph->un.gateway^dev->pa_addr)&dev->pa_mask) || |
icmph | 397 | net/ipv4/icmp.c | ip_chk_addr(icmph->un.gateway)) |
icmph | 401 | net/ipv4/icmp.c | ip, 0, icmph->un.gateway, dev,0, 0, 0); |
icmph | 423 | net/ipv4/icmp.c | static void icmp_echo(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, |
icmph | 468 | net/ipv4/icmp.c | memcpy((char *) icmphr, (char *) icmph, len); |
icmph | 490 | net/ipv4/icmp.c | static void icmp_timestamp(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, |
icmph | 547 | net/ipv4/icmp.c | memcpy((char *) icmphr, (char *) icmph, 12); |
icmph | 577 | net/ipv4/icmp.c | static void icmp_info(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, |
icmph | 590 | net/ipv4/icmp.c | static void icmp_address(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, |
icmph | 641 | net/ipv4/icmp.c | icmphr->un.echo.id = icmph->un.echo.id; |
icmph | 642 | net/ipv4/icmp.c | icmphr->un.echo.sequence = icmph->un.echo.sequence; |
icmph | 663 | net/ipv4/icmp.c | struct icmphdr *icmph; |
icmph | 679 | net/ipv4/icmp.c | icmph = (struct icmphdr *) buff; |
icmph | 685 | net/ipv4/icmp.c | if (ip_compute_csum((unsigned char *) icmph, len)) |
icmph | 700 | net/ipv4/icmp.c | if (icmph->type != ICMP_ECHO) |
icmph | 709 | net/ipv4/icmp.c | switch(icmph->type) |
icmph | 713 | net/ipv4/icmp.c | icmp_unreach(icmph, skb1); |
icmph | 717 | net/ipv4/icmp.c | icmp_unreach(icmph, skb1); |
icmph | 721 | net/ipv4/icmp.c | icmp_unreach(icmph, skb1); |
icmph | 725 | net/ipv4/icmp.c | icmp_redirect(icmph, skb1, dev, saddr); |
icmph | 729 | net/ipv4/icmp.c | icmp_echo(icmph, skb1, dev, saddr, daddr, len, opt); |
icmph | 737 | net/ipv4/icmp.c | icmp_timestamp(icmph, skb1, dev, saddr, daddr, len, opt); |
icmph | 745 | net/ipv4/icmp.c | icmp_info(icmph, skb1, dev, saddr, daddr, len, opt); |
icmph | 753 | net/ipv4/icmp.c | icmp_address(icmph, skb1, dev, saddr, daddr, len, opt); |