Please wait until the page is fully downloaded and then press the "Expand" button or the blue line numbers.

0088000 /*
0088001 server/ip/gen/ip_io.h
0088002 */
0088003 
0088004 #ifndef __SERVER__IP__GEN__IP_IO_H__
0088005 #define __SERVER__IP__GEN__IP_IO_H__
0088006 
0088007 typedef struct nwio_ipconf
0088008 {
0088009          u32_t       nwic_flags;
0088010          ipaddr_t nwic_ipaddr;
0088011          ipaddr_t nwic_netmask;
0088012 } nwio_ipconf_t;
0088013 
0088014 #define NWIC_NOFLAGS              0x0
0088015 #define NWIC_FLAGS              0x3
0088016 #       define NWIC_IPADDR_SET              0x1
0088017 #       define NWIC_NETMASK_SET              0x2
0088018 
0088019 typedef struct nwio_ipopt
0088020 {
0088021          u32_t nwio_flags;
0088022          ipaddr_t nwio_rem;
0088023          ip_hdropt_t nwio_hdropt;
0088024          u8_t nwio_tos;
0088025          u8_t nwio_ttl;
0088026          u8_t nwio_df;
0088027          ipproto_t nwio_proto;
0088028 } nwio_ipopt_t;
0088029 
0088030 #define NWIO_NOFLAGS       0x0000l
0088031 #define NWIO_ACC_MASK       0x0003l
0088032 #       define NWIO_EXCL       0x00000001l
0088033 #       define NWIO_SHARED       0x00000002l
0088034 #       define NWIO_COPY       0x00000003l
0088035 #define NWIO_LOC_MASK       0x0010l
0088036 #       define NWIO_EN_LOC       0x00000010l
0088037 #       define NWIO_DI_LOC       0x00100000l
0088038 #define NWIO_BROAD_MASK       0x0020l
0088039 #       define NWIO_EN_BROAD       0x00000020l
0088040 #       define NWIO_DI_BROAD       0x00200000l
0088041 #define NWIO_REM_MASK       0x0100l
0088042 #       define NWIO_REMSPEC       0x00000100l
0088043 #       define NWIO_REMANY       0x01000000l
0088044 #define NWIO_PROTO_MASK       0x0200l
0088045 #       define NWIO_PROTOSPEC       0x00000200l
0088046 #       define NWIO_PROTOANY       0x02000000l
0088047 #define NWIO_HDR_O_MASK       0x0400l
0088048 #       define NWIO_HDR_O_SPEC       0x00000400l
0088049 #       define NWIO_HDR_O_ANY       0x04000000l
0088050 #define NWIO_RW_MASK       0x1000l
0088051 #       define NWIO_RWDATONLY       0x00001000l
0088052 #       define NWIO_RWDATALL       0x10000000l
0088053 
0088054 #endif /* __SERVER__IP__GEN__IP_IO_H__ */