Annotation of embedaddon/mpd/src/ipv6cp.h, revision 1.1
1.1 ! misho 1:
! 2: /*
! 3: * ipv6cp.h
! 4: *
! 5: * Written by Alexander Motin <mav@FreeBSD.org>
! 6: */
! 7:
! 8: #ifndef _IPV6CP_H_
! 9: #define _IPV6CP_H_
! 10:
! 11: #include <sys/types.h>
! 12: #include <netinet/in_systm.h>
! 13: #include <netinet/ip.h>
! 14: #include "command.h"
! 15:
! 16: /*
! 17: * DEFINITONS
! 18: */
! 19:
! 20: /* Configuration options */
! 21: /* enum {
! 22: };*/
! 23:
! 24: struct ipv6cpconf {
! 25: struct optinfo options; /* Configuraion options */
! 26: };
! 27: typedef struct ipv6cpconf *Ipv6cpConf;
! 28:
! 29: struct ipv6cpstate {
! 30: struct ipv6cpconf conf; /* Configuration */
! 31:
! 32: u_char myintid[8];
! 33: u_char hisintid[8];
! 34:
! 35: uint32_t peer_reject; /* Request codes rejected by peer */
! 36:
! 37: struct fsm fsm;
! 38: };
! 39: typedef struct ipv6cpstate *Ipv6cpState;
! 40:
! 41: /*
! 42: * VARIABLES
! 43: */
! 44:
! 45: extern const struct cmdtab Ipv6cpSetCmds[];
! 46:
! 47: /*
! 48: * FUNCTIONS
! 49: */
! 50:
! 51: extern void Ipv6cpInit(Bund b);
! 52: extern void Ipv6cpInst(Bund b, Bund bt);
! 53: extern void Ipv6cpUp(Bund b);
! 54: extern void Ipv6cpDown(Bund b);
! 55: extern void Ipv6cpOpen(Bund b);
! 56: extern void Ipv6cpClose(Bund b);
! 57: extern int Ipv6cpOpenCmd(Context ctx);
! 58: extern int Ipv6cpCloseCmd(Context ctx);
! 59: extern void Ipv6cpInput(Bund b, Mbuf bp);
! 60: extern void Ipv6cpDefAddress(void);
! 61: extern int Ipv6cpStat(Context ctx, int ac, char *av[], void *arg);
! 62:
! 63: #endif
! 64:
! 65:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>