#include <stdio.h>#include <stdlib.h>#include <asm/types.h>Classes | |
| struct | _pseudo_header |
| struct | _hiphdr |
Defines | |
| #define | HIP_OVER_UDP 0 |
| #define | IPV6 1 |
| #define | IPPROTO_NONE 59 |
| #define | H_PROTO_HIP 99 |
| #define | HIP_I1 1 |
| #define | HIP_VERSION 1 |
| #define | IPV4_PSEUDO_SIZE 12 |
| #define | IPV6_PSEUDO_SIZE 40 |
| #define | HIT_SIZE 16 |
| #define | HIT_SNDR "0x40000000000000000000000000000001" |
| #define | HIT_RCVR "0x40000000000000000000000000000002" |
| #define | IPV4_SRC "0xc0000201" |
| #define | IPV4_DST "0xc0000202" |
Typedefs | |
| typedef _pseudo_header | pseudo_header |
| typedef unsigned char | hip_hit [16] |
| typedef _hiphdr | hiphdr |
Functions | |
| static __u16 | checksum_packet (char *, __u32, __u32) |
| static int | hex_to_bin (char *, char *, int) |
| int | main (int argc, char *argv[]) |
| #define H_PROTO_HIP 99 |
| #define HIP_I1 1 |
| #define HIP_OVER_UDP 0 |
| #define HIP_VERSION 1 |
| #define HIT_RCVR "0x40000000000000000000000000000002" |
| #define HIT_SIZE 16 |
| #define HIT_SNDR "0x40000000000000000000000000000001" |
| #define IPPROTO_NONE 59 |
| #define IPV4_DST "0xc0000202" |
| #define IPV4_PSEUDO_SIZE 12 |
| #define IPV4_SRC "0xc0000201" |
| #define IPV6 1 |
| #define IPV6_PSEUDO_SIZE 40 |
| typedef unsigned char hip_hit[16] |
| typedef struct _pseudo_header pseudo_header |
| static int hex_to_bin | ( | char * | , | |
| char * | , | |||
| int | ||||
| ) | [static] |
| int main | ( | int | argc, | |
| char * | argv[] | |||
| ) |
1.5.1