232 INET_NAME,
233 SOCK_UC_VERSION,
234 SOCK_DC_VERSION,
235 INET_SOCK_PROTO_CREATE_FUNC,
236 #ifdef INET_SOCK_PROTO_FB_FUNC
237 &smodpriv
238 #else
239 NULL
240 #endif /* INET_SOCK_PROTO_FB_FUNC */
241 };
242
243 static struct modlsockmod modlsockmod = {
244 &mod_sockmodops,
245 INET_SOCKDESC,
246 &smodreg
247 };
248 #endif /* INET_SOCKDESC */
249
250 static struct modlinkage modlinkage = {
251 MODREV_1,
252 #ifdef INET_DEVDESC
253 &modldrv,
254 #endif
255 #ifdef INET_MODDESC
256 &modlstrmod,
257 #endif
258 #ifdef INET_SOCKDESC
259 &modlsockmod,
260 #endif
261 NULL
262 };
|
232 INET_NAME,
233 SOCK_UC_VERSION,
234 SOCK_DC_VERSION,
235 INET_SOCK_PROTO_CREATE_FUNC,
236 #ifdef INET_SOCK_PROTO_FB_FUNC
237 &smodpriv
238 #else
239 NULL
240 #endif /* INET_SOCK_PROTO_FB_FUNC */
241 };
242
243 static struct modlsockmod modlsockmod = {
244 &mod_sockmodops,
245 INET_SOCKDESC,
246 &smodreg
247 };
248 #endif /* INET_SOCKDESC */
249
250 static struct modlinkage modlinkage = {
251 MODREV_1,
252 {
253 #ifdef INET_DEVDESC
254 &modldrv,
255 #endif
256 #ifdef INET_MODDESC
257 &modlstrmod,
258 #endif
259 #ifdef INET_SOCKDESC
260 &modlsockmod,
261 #endif
262 NULL
263 }
264 };
|