ospf_kernel_interface.h

来自「vxworks下ospf协议栈」· C头文件 代码 · 共 78 行

H
78
字号
/* ospf_kernel_interface.h - OSPF Header File for Interface with the Kernel * Layer Components *//* Copyright 2001-2003 Wind River Systems, Inc. */#include "copyright_wrs.h"/* * modification history * -------------------- * 01c,12may03,asr Changes to make OSPF virtual stack compatible. * 01b,12Oct01 ,aj Incorporated changes for Synth compatibility. * 01a,27Jun01,mist  written. */ /*  * DESCRIPTION  * This Header File contains the declarations of all Wrapper functions written  * for the lower  layer functions.  *  */#if defined (__OSPF_ROUTER_STACK__)#ifndef __INCospf_kernel_interfaceh#define __INCospf_kernel_interfaceh /* includes */#include <stdio.h>#include <vxWorks.h>#include <netLib.h>#include <net/mbuf.h>#include <net/if.h>#include <netinet/in_pcb.h>#include "ospf.h" /* type declarations */int ospf_protocol_registration (                struct protosw ospf_protocol_switch#if defined (VIRTUAL_STACK)                ,                int vsNumber#endif /* VIRTUAL_STACK */                );void  ospf_kernel_register_with_ip (FP_OSPF_RECEIVE pospfReceive, FP_OSPF_SEND pospfSend);void ospf_kernel_deregister_with_ip (FP_OSPF_RECEIVE pospfReceive, FP_OSPF_SEND pospfSend);struct ifnet* inaddress_to_ifp (struct in_addr addr);struct in_ifaddr* interface_address_to_ia (struct ifnet* ifp);int ospf_check_interface (unsigned long ip_address);struct mBlk* join_multicast_group (struct in_addr* multicast_address,                    unsigned long ospf_ip_address,                    struct inpcb* inpcbptr);int ospf_check_multicast_if_bit (unsigned long ip_address);int ospf_check_interface_address_for_receive (unsigned long ip_address, struct ifnet* pifnet);int  ospf_check_interface_index (struct ifnet* p_ospf_ifnet,  struct ifnet* p_receive_ifnet);#endif /* __INCospf_kernel_interfaceh */#endif /*__OSPF_ROUTER_STACK__*/

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?