Main Page | Modules | Class List | Directories | File List | Class Members | File Members | Related Pages

ip6.c File Reference

#include "config.h"
#include "dnet.h"

Go to the source code of this file.

Defines

#define IP6_IS_EXT(n)

Functions

void ip6_checksum (void *buf, size_t len)


Define Documentation

#define IP6_IS_EXT  ) 
 

Value:

((n) == IP_PROTO_HOPOPTS || (n) == IP_PROTO_DSTOPTS || \
         (n) == IP_PROTO_ROUTING || (n) == IP_PROTO_FRAGMENT)

Definition at line 13 of file ip6.c.

Referenced by ip6_checksum().


Function Documentation

void ip6_checksum void *  buf,
size_t  len
 

Definition at line 18 of file ip6.c.

References ip6_ext_hdr::ext_len, ip6_ext_hdr::ext_nxt, icmp_hdr::icmp_cksum, ICMP_HDR_LEN, IP6_HDR_LEN, IP6_IS_EXT, ip6_hdr::ip6_src, ip_cksum_add(), ip_cksum_carry, IP_PROTO_ICMP, IP_PROTO_ICMPV6, IP_PROTO_IGMP, IP_PROTO_TCP, IP_PROTO_UDP, TCP_HDR_LEN, tcp_hdr::th_sum, UDP_HDR_LEN, and udp_hdr::uh_sum.

Referenced by __pyx_f_4dnet_ip6_checksum().


Generated on Sun May 14 14:51:22 2006 by  doxygen 1.4.2