ng_iface.h (72369c34ac9104f71d71dd1a2fa8ffbdb1734d32) | ng_iface.h (cd22454e8bb6aaca07a9eb0eca03046aaf45a5fe) |
---|---|
1/* 2 * ng_iface.h 3 */ 4 5/*- 6 * Copyright (c) 1996-1999 Whistle Communications, Inc. 7 * All rights reserved. 8 * --- 32 unchanged lines hidden (view full) --- 41 * $Whistle: ng_iface.h,v 1.5 1999/01/20 00:22:13 archie Exp $ 42 */ 43 44#ifndef _NETGRAPH_NG_IFACE_H_ 45#define _NETGRAPH_NG_IFACE_H_ 46 47/* Node type name and magic cookie */ 48#define NG_IFACE_NODE_TYPE "iface" | 1/* 2 * ng_iface.h 3 */ 4 5/*- 6 * Copyright (c) 1996-1999 Whistle Communications, Inc. 7 * All rights reserved. 8 * --- 32 unchanged lines hidden (view full) --- 41 * $Whistle: ng_iface.h,v 1.5 1999/01/20 00:22:13 archie Exp $ 42 */ 43 44#ifndef _NETGRAPH_NG_IFACE_H_ 45#define _NETGRAPH_NG_IFACE_H_ 46 47/* Node type name and magic cookie */ 48#define NG_IFACE_NODE_TYPE "iface" |
49#define NGM_IFACE_COOKIE 858821773 | 49#define NGM_IFACE_COOKIE 1108312559 |
50 51/* Interface base name */ 52#define NG_IFACE_IFACE_NAME "ng" 53 54/* My hook names */ 55#define NG_IFACE_HOOK_INET "inet" 56#define NG_IFACE_HOOK_INET6 "inet6" 57#define NG_IFACE_HOOK_ATALK "atalk" /* AppleTalk phase 2 */ 58#define NG_IFACE_HOOK_IPX "ipx" 59#define NG_IFACE_HOOK_ATM "atm" 60#define NG_IFACE_HOOK_NATM "natm" 61 62/* MTU bounds */ 63#define NG_IFACE_MTU_MIN 72 64#define NG_IFACE_MTU_MAX 65535 65#define NG_IFACE_MTU_DEFAULT 1500 66 67/* Netgraph commands */ 68enum { | 50 51/* Interface base name */ 52#define NG_IFACE_IFACE_NAME "ng" 53 54/* My hook names */ 55#define NG_IFACE_HOOK_INET "inet" 56#define NG_IFACE_HOOK_INET6 "inet6" 57#define NG_IFACE_HOOK_ATALK "atalk" /* AppleTalk phase 2 */ 58#define NG_IFACE_HOOK_IPX "ipx" 59#define NG_IFACE_HOOK_ATM "atm" 60#define NG_IFACE_HOOK_NATM "natm" 61 62/* MTU bounds */ 63#define NG_IFACE_MTU_MIN 72 64#define NG_IFACE_MTU_MAX 65535 65#define NG_IFACE_MTU_DEFAULT 1500 66 67/* Netgraph commands */ 68enum { |
69 NGM_IFACE_GET_IFNAME = 1, /* returns struct ng_iface_ifname */ | 69 NGM_IFACE_GET_IFNAME = 1, |
70 NGM_IFACE_POINT2POINT, 71 NGM_IFACE_BROADCAST, 72 NGM_IFACE_GET_IFINDEX, 73}; 74 75#endif /* _NETGRAPH_NG_IFACE_H_ */ | 70 NGM_IFACE_POINT2POINT, 71 NGM_IFACE_BROADCAST, 72 NGM_IFACE_GET_IFINDEX, 73}; 74 75#endif /* _NETGRAPH_NG_IFACE_H_ */ |