Print this page
feth prototype


  71 #include <sys/audio.h>
  72 #include <sys/mixer.h>
  73 #include <sys/cpc_impl.h>
  74 #include <sys/devpoll.h>
  75 #include <sys/strredir.h>
  76 #include <sys/sockio.h>
  77 #include <netinet/ip_mroute.h>
  78 #include <net/if.h>
  79 #include <net/if_arp.h>
  80 #include <sys/ptyvar.h>
  81 #include <sys/des.h>
  82 #include <sys/prnio.h>
  83 #include <sys/dtrace.h>
  84 #include <sys/crypto/ioctladmin.h>
  85 #include <sys/crypto/ioctl.h>
  86 #include <sys/kbio.h>
  87 #include <sys/ptms.h>
  88 #include <sys/aggr.h>
  89 #include <sys/dld.h>
  90 #include <net/simnet.h>

  91 #include <sys/vnic.h>
  92 #include <sys/fs/zfs.h>
  93 #include <inet/kssl/kssl.h>
  94 #include <sys/dkio.h>
  95 #include <sys/fdio.h>
  96 #include <sys/cdio.h>
  97 #include <sys/scsi/impl/uscsi.h>
  98 #include <sys/devinfo_impl.h>
  99 #include <sys/dumpadm.h>
 100 #include <sys/mntio.h>
 101 #include <inet/iptun.h>
 102 #include <sys/zcons.h>
 103 #include <sys/usb/clients/hid/hid.h>
 104 #include <sys/pm.h>
 105 #include <sys/soundcard.h>
 106 #include <sys/cpuid_drv.h>
 107 
 108 #include "ramdata.h"
 109 #include "proto.h"
 110 


1119                 "dld_ioc_addflow"},
1120         { (uint_t)DLDIOC_REMOVEFLOW,            "DLDIOC_REMOVEFLOW",
1121                 "dld_ioc_removeflow"},
1122         { (uint_t)DLDIOC_MODIFYFLOW,            "DLDIOC_MODIFYFLOW",
1123                 "dld_ioc_modifyflow"},
1124         { (uint_t)DLDIOC_WALKFLOW,              "DLDIOC_WALKFLOW",
1125                 "dld_ioc_walkflow"},
1126         { (uint_t)DLDIOC_USAGELOG,              "DLDIOC_USAGELOG",
1127                 "dld_ioc_usagelog"},
1128 
1129         /* simnet ioctls */
1130         { (uint_t)SIMNET_IOC_CREATE,            "SIMNET_IOC_CREATE",
1131                 "simnet_ioc_create"},
1132         { (uint_t)SIMNET_IOC_DELETE,            "SIMNET_IOC_DELETE",
1133                 "simnet_ioc_delete"},
1134         { (uint_t)SIMNET_IOC_INFO,              "SIMNET_IOC_INFO",
1135                 "simnet_ioc_info"},
1136         { (uint_t)SIMNET_IOC_MODIFY,            "SIMNET_IOC_MODIFY",
1137                 "simnet_ioc_info"},
1138 










1139         /* vnic ioctls */
1140         { (uint_t)VNIC_IOC_CREATE,              "VNIC_IOC_CREATE",
1141                 "vnic_ioc_create"},
1142         { (uint_t)VNIC_IOC_DELETE,              "VNIC_IOC_DELETE",
1143                 "vnic_ioc_delete"},
1144         { (uint_t)VNIC_IOC_INFO,                "VNIC_IOC_INFO",
1145                 "vnic_ioc_info"},
1146 
1147         /* ZFS ioctls */
1148         { (uint_t)ZFS_IOC_POOL_CREATE,          "ZFS_IOC_POOL_CREATE",
1149                 "zfs_cmd_t" },
1150         { (uint_t)ZFS_IOC_POOL_DESTROY,         "ZFS_IOC_POOL_DESTROY",
1151                 "zfs_cmd_t" },
1152         { (uint_t)ZFS_IOC_POOL_IMPORT,          "ZFS_IOC_POOL_IMPORT",
1153                 "zfs_cmd_t" },
1154         { (uint_t)ZFS_IOC_POOL_EXPORT,          "ZFS_IOC_POOL_EXPORT",
1155                 "zfs_cmd_t" },
1156         { (uint_t)ZFS_IOC_POOL_CONFIGS,         "ZFS_IOC_POOL_CONFIGS",
1157                 "zfs_cmd_t" },
1158         { (uint_t)ZFS_IOC_POOL_STATS,           "ZFS_IOC_POOL_STATS",




  71 #include <sys/audio.h>
  72 #include <sys/mixer.h>
  73 #include <sys/cpc_impl.h>
  74 #include <sys/devpoll.h>
  75 #include <sys/strredir.h>
  76 #include <sys/sockio.h>
  77 #include <netinet/ip_mroute.h>
  78 #include <net/if.h>
  79 #include <net/if_arp.h>
  80 #include <sys/ptyvar.h>
  81 #include <sys/des.h>
  82 #include <sys/prnio.h>
  83 #include <sys/dtrace.h>
  84 #include <sys/crypto/ioctladmin.h>
  85 #include <sys/crypto/ioctl.h>
  86 #include <sys/kbio.h>
  87 #include <sys/ptms.h>
  88 #include <sys/aggr.h>
  89 #include <sys/dld.h>
  90 #include <net/simnet.h>
  91 #include <net/feth.h>
  92 #include <sys/vnic.h>
  93 #include <sys/fs/zfs.h>
  94 #include <inet/kssl/kssl.h>
  95 #include <sys/dkio.h>
  96 #include <sys/fdio.h>
  97 #include <sys/cdio.h>
  98 #include <sys/scsi/impl/uscsi.h>
  99 #include <sys/devinfo_impl.h>
 100 #include <sys/dumpadm.h>
 101 #include <sys/mntio.h>
 102 #include <inet/iptun.h>
 103 #include <sys/zcons.h>
 104 #include <sys/usb/clients/hid/hid.h>
 105 #include <sys/pm.h>
 106 #include <sys/soundcard.h>
 107 #include <sys/cpuid_drv.h>
 108 
 109 #include "ramdata.h"
 110 #include "proto.h"
 111 


1120                 "dld_ioc_addflow"},
1121         { (uint_t)DLDIOC_REMOVEFLOW,            "DLDIOC_REMOVEFLOW",
1122                 "dld_ioc_removeflow"},
1123         { (uint_t)DLDIOC_MODIFYFLOW,            "DLDIOC_MODIFYFLOW",
1124                 "dld_ioc_modifyflow"},
1125         { (uint_t)DLDIOC_WALKFLOW,              "DLDIOC_WALKFLOW",
1126                 "dld_ioc_walkflow"},
1127         { (uint_t)DLDIOC_USAGELOG,              "DLDIOC_USAGELOG",
1128                 "dld_ioc_usagelog"},
1129 
1130         /* simnet ioctls */
1131         { (uint_t)SIMNET_IOC_CREATE,            "SIMNET_IOC_CREATE",
1132                 "simnet_ioc_create"},
1133         { (uint_t)SIMNET_IOC_DELETE,            "SIMNET_IOC_DELETE",
1134                 "simnet_ioc_delete"},
1135         { (uint_t)SIMNET_IOC_INFO,              "SIMNET_IOC_INFO",
1136                 "simnet_ioc_info"},
1137         { (uint_t)SIMNET_IOC_MODIFY,            "SIMNET_IOC_MODIFY",
1138                 "simnet_ioc_info"},
1139 
1140         /* feth ioctls */
1141         { (uint_t)FETH_IOC_CREATE,              "FETH_IOC_CREATE",
1142                 "feth_ioc_create"},
1143         { (uint_t)FETH_IOC_DELETE,              "FETH_IOC_DELETE",
1144                 "feth_ioc_delete"},
1145         { (uint_t)FETH_IOC_INFO,                "FETH_IOC_INFO",
1146                 "feth_ioc_info"},
1147         { (uint_t)FETH_IOC_MODIFY,              "FETH_IOC_MODIFY",
1148                 "feth_ioc_modify"},
1149 
1150         /* vnic ioctls */
1151         { (uint_t)VNIC_IOC_CREATE,              "VNIC_IOC_CREATE",
1152                 "vnic_ioc_create"},
1153         { (uint_t)VNIC_IOC_DELETE,              "VNIC_IOC_DELETE",
1154                 "vnic_ioc_delete"},
1155         { (uint_t)VNIC_IOC_INFO,                "VNIC_IOC_INFO",
1156                 "vnic_ioc_info"},
1157 
1158         /* ZFS ioctls */
1159         { (uint_t)ZFS_IOC_POOL_CREATE,          "ZFS_IOC_POOL_CREATE",
1160                 "zfs_cmd_t" },
1161         { (uint_t)ZFS_IOC_POOL_DESTROY,         "ZFS_IOC_POOL_DESTROY",
1162                 "zfs_cmd_t" },
1163         { (uint_t)ZFS_IOC_POOL_IMPORT,          "ZFS_IOC_POOL_IMPORT",
1164                 "zfs_cmd_t" },
1165         { (uint_t)ZFS_IOC_POOL_EXPORT,          "ZFS_IOC_POOL_EXPORT",
1166                 "zfs_cmd_t" },
1167         { (uint_t)ZFS_IOC_POOL_CONFIGS,         "ZFS_IOC_POOL_CONFIGS",
1168                 "zfs_cmd_t" },
1169         { (uint_t)ZFS_IOC_POOL_STATS,           "ZFS_IOC_POOL_STATS",