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 | 106 | net/ipv4/icmp.c | struct icmphdr *icmph; |
icmph | 153 | net/ipv4/icmp.c | icmph = (struct icmphdr *) ((char *) iph + |
icmph | 160 | net/ipv4/icmp.c | if (icmph->type == ICMP_DEST_UNREACH || |
icmph | 161 | net/ipv4/icmp.c | icmph->type == ICMP_SOURCE_QUENCH || |
icmph | 162 | net/ipv4/icmp.c | icmph->type == ICMP_REDIRECT || |
icmph | 163 | net/ipv4/icmp.c | icmph->type == ICMP_TIME_EXCEEDED || |
icmph | 164 | net/ipv4/icmp.c | icmph->type == ICMP_PARAMETERPROB) |
icmph | 253 | net/ipv4/icmp.c | icmph = (struct icmphdr *) (skb->data + offset); |
icmph | 254 | net/ipv4/icmp.c | icmph->type = type; |
icmph | 255 | net/ipv4/icmp.c | icmph->code = code; |
icmph | 256 | net/ipv4/icmp.c | icmph->checksum = 0; |
icmph | 257 | net/ipv4/icmp.c | icmph->un.gateway = info; /* This might not be meant for |
icmph | 260 | net/ipv4/icmp.c | memcpy(icmph + 1, iph, sizeof(struct iphdr) + 8); |
icmph | 262 | net/ipv4/icmp.c | icmph->checksum = ip_compute_csum((unsigned char *)icmph, |
icmph | 276 | net/ipv4/icmp.c | static void icmp_unreach(struct icmphdr *icmph, struct sk_buff *skb) |
icmph | 283 | net/ipv4/icmp.c | err = (icmph->type << 8) | icmph->code; |
icmph | 284 | net/ipv4/icmp.c | iph = (struct iphdr *) (icmph + 1); |
icmph | 286 | net/ipv4/icmp.c | switch(icmph->code & 7) |
icmph | 337 | net/ipv4/icmp.c | ipprot->err_handler(err, (unsigned char *)(icmph + 1), |
icmph | 351 | net/ipv4/icmp.c | static void icmp_redirect(struct icmphdr *icmph, struct sk_buff *skb, |
icmph | 364 | net/ipv4/icmp.c | iph = (struct iphdr *) (icmph + 1); |
icmph | 373 | net/ipv4/icmp.c | switch(icmph->code & 7) |
icmph | 383 | net/ipv4/icmp.c | ip, 0, icmph->un.gateway, dev,0, 0, 0); |
icmph | 399 | net/ipv4/icmp.c | ((icmph->un.gateway^dev->pa_addr)&dev->pa_mask) || |
icmph | 400 | net/ipv4/icmp.c | ip_chk_addr(icmph->un.gateway)) |
icmph | 404 | net/ipv4/icmp.c | ip, 0, icmph->un.gateway, dev,0, 0, 0, 0); |
icmph | 426 | net/ipv4/icmp.c | static void icmp_echo(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, |
icmph | 471 | net/ipv4/icmp.c | memcpy((char *) icmphr, (char *) icmph, len); |
icmph | 493 | net/ipv4/icmp.c | static void icmp_timestamp(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, |
icmph | 548 | net/ipv4/icmp.c | memcpy((char *) icmphr, (char *) icmph, 12); |
icmph | 578 | net/ipv4/icmp.c | static void icmp_info(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, |
icmph | 591 | net/ipv4/icmp.c | static void icmp_address(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, |
icmph | 642 | net/ipv4/icmp.c | icmphr->un.echo.id = icmph->un.echo.id; |
icmph | 643 | net/ipv4/icmp.c | icmphr->un.echo.sequence = icmph->un.echo.sequence; |
icmph | 664 | net/ipv4/icmp.c | struct icmphdr *icmph; |
icmph | 680 | net/ipv4/icmp.c | icmph = (struct icmphdr *) buff; |
icmph | 686 | net/ipv4/icmp.c | if (ip_compute_csum((unsigned char *) icmph, len)) |
icmph | 701 | net/ipv4/icmp.c | if (icmph->type != ICMP_ECHO) |
icmph | 710 | net/ipv4/icmp.c | switch(icmph->type) |
icmph | 714 | net/ipv4/icmp.c | icmp_unreach(icmph, skb1); |
icmph | 718 | net/ipv4/icmp.c | icmp_unreach(icmph, skb1); |
icmph | 722 | net/ipv4/icmp.c | icmp_unreach(icmph, skb1); |
icmph | 726 | net/ipv4/icmp.c | icmp_redirect(icmph, skb1, dev, saddr); |
icmph | 730 | net/ipv4/icmp.c | icmp_echo(icmph, skb1, dev, saddr, daddr, len, opt); |
icmph | 738 | net/ipv4/icmp.c | icmp_timestamp(icmph, skb1, dev, saddr, daddr, len, opt); |
icmph | 746 | net/ipv4/icmp.c | icmp_info(icmph, skb1, dev, saddr, daddr, len, opt); |
icmph | 754 | net/ipv4/icmp.c | icmp_address(icmph, skb1, dev, saddr, daddr, len, opt); |