]>
Commit | Line | Data |
---|---|---|
39236c6e A |
1 | #include <kern/debug.h> |
2 | ||
3 | #if !NETWORKING | |
4 | ||
5 | int bpf_attach(void); | |
6 | int bpf_attach(void) | |
7 | { | |
8 | panic("stub called in a config with no networking"); | |
9 | return 0; | |
10 | } | |
11 | ||
12 | int bpf_tap_in(void); | |
13 | int bpf_tap_in(void) | |
14 | { | |
15 | panic("stub called in a config with no networking"); | |
16 | return 0; | |
17 | } | |
18 | ||
19 | int bpf_tap_out(void); | |
20 | int bpf_tap_out(void) | |
21 | { | |
22 | panic("stub called in a config with no networking"); | |
23 | return 0; | |
24 | } | |
25 | ||
26 | int bpfattach(void); | |
27 | int bpfattach(void) | |
28 | { | |
29 | panic("stub called in a config with no networking"); | |
30 | return 0; | |
31 | } | |
32 | ||
33 | int ctl_deregister(void); | |
34 | int ctl_deregister(void) | |
35 | { | |
36 | panic("stub called in a config with no networking"); | |
37 | return 0; | |
38 | } | |
39 | ||
40 | int ctl_enqueuedata(void); | |
41 | int ctl_enqueuedata(void) | |
42 | { | |
43 | panic("stub called in a config with no networking"); | |
44 | return 0; | |
45 | } | |
46 | ||
47 | int ctl_enqueuembuf(void); | |
48 | int ctl_enqueuembuf(void) | |
49 | { | |
50 | panic("stub called in a config with no networking"); | |
51 | return 0; | |
52 | } | |
53 | ||
54 | int ctl_getenqueuespace(void); | |
55 | int ctl_getenqueuespace(void) | |
56 | { | |
57 | panic("stub called in a config with no networking"); | |
58 | return 0; | |
59 | } | |
60 | ||
61 | int ctl_register(void); | |
62 | int ctl_register(void) | |
63 | { | |
64 | panic("stub called in a config with no networking"); | |
65 | return 0; | |
66 | } | |
67 | ||
68 | int ether_add_proto(void); | |
69 | int ether_add_proto(void) | |
70 | { | |
71 | panic("stub called in a config with no networking"); | |
72 | return 0; | |
73 | } | |
74 | ||
75 | int ether_check_multi(void); | |
76 | int ether_check_multi(void) | |
77 | { | |
78 | panic("stub called in a config with no networking"); | |
79 | return 0; | |
80 | } | |
81 | ||
82 | int ether_del_proto(void); | |
83 | int ether_del_proto(void) | |
84 | { | |
85 | panic("stub called in a config with no networking"); | |
86 | return 0; | |
87 | } | |
88 | ||
89 | int ether_demux(void); | |
90 | int ether_demux(void) | |
91 | { | |
92 | panic("stub called in a config with no networking"); | |
93 | return 0; | |
94 | } | |
95 | ||
96 | int ether_frameout(void); | |
97 | int ether_frameout(void) | |
98 | { | |
99 | panic("stub called in a config with no networking"); | |
100 | return 0; | |
101 | } | |
102 | ||
103 | int ether_ioctl(void); | |
104 | int ether_ioctl(void) | |
105 | { | |
106 | panic("stub called in a config with no networking"); | |
107 | return 0; | |
108 | } | |
109 | ||
110 | int fifo_advlock(void); | |
111 | int fifo_advlock(void) | |
112 | { | |
113 | panic("stub called in a config with no networking"); | |
114 | return 0; | |
115 | } | |
116 | ||
117 | int fifo_close(void); | |
118 | int fifo_close(void) | |
119 | { | |
120 | panic("stub called in a config with no networking"); | |
121 | return 0; | |
122 | } | |
123 | ||
124 | int fifo_inactive(void); | |
125 | int fifo_inactive(void) | |
126 | { | |
127 | panic("stub called in a config with no networking"); | |
128 | return 0; | |
129 | } | |
130 | ||
131 | int fifo_ioctl(void); | |
132 | int fifo_ioctl(void) | |
133 | { | |
134 | panic("stub called in a config with no networking"); | |
135 | return 0; | |
136 | } | |
137 | ||
138 | int fifo_lookup(void); | |
139 | int fifo_lookup(void) | |
140 | { | |
141 | panic("stub called in a config with no networking"); | |
142 | return 0; | |
143 | } | |
144 | ||
145 | int fifo_open(void); | |
146 | int fifo_open(void) | |
147 | { | |
148 | panic("stub called in a config with no networking"); | |
149 | return 0; | |
150 | } | |
151 | ||
152 | int fifo_pathconf(void); | |
153 | int fifo_pathconf(void) | |
154 | { | |
155 | panic("stub called in a config with no networking"); | |
156 | return 0; | |
157 | } | |
158 | ||
159 | int fifo_read(void); | |
160 | int fifo_read(void) | |
161 | { | |
162 | panic("stub called in a config with no networking"); | |
163 | return 0; | |
164 | } | |
165 | ||
166 | int fifo_select(void); | |
167 | int fifo_select(void) | |
168 | { | |
169 | panic("stub called in a config with no networking"); | |
170 | return 0; | |
171 | } | |
172 | ||
173 | int fifo_write(void); | |
174 | int fifo_write(void) | |
175 | { | |
176 | panic("stub called in a config with no networking"); | |
177 | return 0; | |
178 | } | |
179 | ||
180 | int ifaddr_address(void); | |
181 | int ifaddr_address(void) | |
182 | { | |
183 | panic("stub called in a config with no networking"); | |
184 | return 0; | |
185 | } | |
186 | ||
187 | int ifaddr_address_family(void); | |
188 | int ifaddr_address_family(void) | |
189 | { | |
190 | panic("stub called in a config with no networking"); | |
191 | return 0; | |
192 | } | |
193 | ||
194 | int ifaddr_dstaddress(void); | |
195 | int ifaddr_dstaddress(void) | |
196 | { | |
197 | panic("stub called in a config with no networking"); | |
198 | return 0; | |
199 | } | |
200 | ||
201 | int ifaddr_findbestforaddr(void); | |
202 | int ifaddr_findbestforaddr(void) | |
203 | { | |
204 | panic("stub called in a config with no networking"); | |
205 | return 0; | |
206 | } | |
207 | ||
208 | int ifaddr_ifnet(void); | |
209 | int ifaddr_ifnet(void) | |
210 | { | |
211 | panic("stub called in a config with no networking"); | |
212 | return 0; | |
213 | } | |
214 | ||
215 | int ifaddr_netmask(void); | |
216 | int ifaddr_netmask(void) | |
217 | { | |
218 | panic("stub called in a config with no networking"); | |
219 | return 0; | |
220 | } | |
221 | ||
222 | int ifaddr_reference(void); | |
223 | int ifaddr_reference(void) | |
224 | { | |
225 | panic("stub called in a config with no networking"); | |
226 | return 0; | |
227 | } | |
228 | ||
229 | int ifaddr_release(void); | |
230 | int ifaddr_release(void) | |
231 | { | |
232 | panic("stub called in a config with no networking"); | |
233 | return 0; | |
234 | } | |
235 | ||
236 | int ifaddr_withaddr(void); | |
237 | int ifaddr_withaddr(void) | |
238 | { | |
239 | panic("stub called in a config with no networking"); | |
240 | return 0; | |
241 | } | |
242 | ||
243 | int ifaddr_withdstaddr(void); | |
244 | int ifaddr_withdstaddr(void) | |
245 | { | |
246 | panic("stub called in a config with no networking"); | |
247 | return 0; | |
248 | } | |
249 | ||
250 | int ifaddr_withnet(void); | |
251 | int ifaddr_withnet(void) | |
252 | { | |
253 | panic("stub called in a config with no networking"); | |
254 | return 0; | |
255 | } | |
256 | ||
257 | int ifaddr_withroute(void); | |
258 | int ifaddr_withroute(void) | |
259 | { | |
260 | panic("stub called in a config with no networking"); | |
261 | return 0; | |
262 | } | |
263 | ||
264 | int iflt_attach(void); | |
265 | int iflt_attach(void) | |
266 | { | |
267 | panic("stub called in a config with no networking"); | |
268 | return 0; | |
269 | } | |
270 | ||
271 | int iflt_detach(void); | |
272 | int iflt_detach(void) | |
273 | { | |
274 | panic("stub called in a config with no networking"); | |
275 | return 0; | |
276 | } | |
277 | ||
278 | int ifmaddr_address(void); | |
279 | int ifmaddr_address(void) | |
280 | { | |
281 | panic("stub called in a config with no networking"); | |
282 | return 0; | |
283 | } | |
284 | ||
285 | int ifmaddr_ifnet(void); | |
286 | int ifmaddr_ifnet(void) | |
287 | { | |
288 | panic("stub called in a config with no networking"); | |
289 | return 0; | |
290 | } | |
291 | ||
292 | int ifmaddr_lladdress(void); | |
293 | int ifmaddr_lladdress(void) | |
294 | { | |
295 | panic("stub called in a config with no networking"); | |
296 | return 0; | |
297 | } | |
298 | ||
299 | int ifmaddr_reference(void); | |
300 | int ifmaddr_reference(void) | |
301 | { | |
302 | panic("stub called in a config with no networking"); | |
303 | return 0; | |
304 | } | |
305 | ||
306 | int ifmaddr_release(void); | |
307 | int ifmaddr_release(void) | |
308 | { | |
309 | panic("stub called in a config with no networking"); | |
310 | return 0; | |
311 | } | |
312 | ||
313 | int ifnet_add_multicast(void); | |
314 | int ifnet_add_multicast(void) | |
315 | { | |
316 | panic("stub called in a config with no networking"); | |
317 | return 0; | |
318 | } | |
319 | ||
320 | int ifnet_addrlen(void); | |
321 | int ifnet_addrlen(void) | |
322 | { | |
323 | panic("stub called in a config with no networking"); | |
324 | return 0; | |
325 | } | |
326 | ||
327 | int ifnet_allocate(void); | |
328 | int ifnet_allocate(void) | |
329 | { | |
330 | panic("stub called in a config with no networking"); | |
331 | return 0; | |
332 | } | |
333 | ||
334 | int ifnet_attach(void); | |
335 | int ifnet_attach(void) | |
336 | { | |
337 | panic("stub called in a config with no networking"); | |
338 | return 0; | |
339 | } | |
340 | ||
341 | int ifnet_attach_protocol(void); | |
342 | int ifnet_attach_protocol(void) | |
343 | { | |
344 | panic("stub called in a config with no networking"); | |
345 | return 0; | |
346 | } | |
347 | ||
348 | int ifnet_baudrate(void); | |
349 | int ifnet_baudrate(void) | |
350 | { | |
351 | panic("stub called in a config with no networking"); | |
352 | return 0; | |
353 | } | |
354 | ||
355 | int ifnet_capabilities_enabled(void); | |
356 | int ifnet_capabilities_enabled(void) | |
357 | { | |
358 | panic("stub called in a config with no networking"); | |
359 | return 0; | |
360 | } | |
361 | ||
362 | int ifnet_capabilities_supported(void); | |
363 | int ifnet_capabilities_supported(void) | |
364 | { | |
365 | panic("stub called in a config with no networking"); | |
366 | return 0; | |
367 | } | |
368 | ||
369 | int ifnet_detach(void); | |
370 | int ifnet_detach(void) | |
371 | { | |
372 | panic("stub called in a config with no networking"); | |
373 | return 0; | |
374 | } | |
375 | ||
376 | int ifnet_detach_protocol(void); | |
377 | int ifnet_detach_protocol(void) | |
378 | { | |
379 | panic("stub called in a config with no networking"); | |
380 | return 0; | |
381 | } | |
382 | ||
383 | int ifnet_eflags(void); | |
384 | int ifnet_eflags(void) | |
385 | { | |
386 | panic("stub called in a config with no networking"); | |
387 | return 0; | |
388 | } | |
389 | ||
390 | int ifnet_event(void); | |
391 | int ifnet_event(void) | |
392 | { | |
393 | panic("stub called in a config with no networking"); | |
394 | return 0; | |
395 | } | |
396 | ||
397 | int ifnet_family(void); | |
398 | int ifnet_family(void) | |
399 | { | |
400 | panic("stub called in a config with no networking"); | |
401 | return 0; | |
402 | } | |
403 | ||
404 | int ifnet_subfamily(void); | |
405 | int ifnet_subfamily(void) | |
406 | { | |
407 | panic("stub called in a config with no networking"); | |
408 | return 0; | |
409 | } | |
410 | ||
411 | int ifnet_find_by_name(void); | |
412 | int ifnet_find_by_name(void) | |
413 | { | |
414 | panic("stub called in a config with no networking"); | |
415 | return 0; | |
416 | } | |
417 | ||
418 | int ifnet_flags(void); | |
419 | int ifnet_flags(void) | |
420 | { | |
421 | panic("stub called in a config with no networking"); | |
422 | return 0; | |
423 | } | |
424 | ||
425 | int ifnet_free_address_list(void); | |
426 | int ifnet_free_address_list(void) | |
427 | { | |
428 | panic("stub called in a config with no networking"); | |
429 | return 0; | |
430 | } | |
431 | ||
432 | int ifnet_free_multicast_list(void); | |
433 | int ifnet_free_multicast_list(void) | |
434 | { | |
435 | panic("stub called in a config with no networking"); | |
436 | return 0; | |
437 | } | |
438 | ||
439 | int ifnet_get_address_list(void); | |
440 | int ifnet_get_address_list(void) | |
441 | { | |
442 | panic("stub called in a config with no networking"); | |
443 | return 0; | |
444 | } | |
445 | ||
446 | int ifnet_get_address_list_family(void); | |
447 | int ifnet_get_address_list_family(void) | |
448 | { | |
449 | panic("stub called in a config with no networking"); | |
450 | return 0; | |
451 | } | |
452 | ||
453 | int ifnet_get_link_mib_data(void); | |
454 | int ifnet_get_link_mib_data(void) | |
455 | { | |
456 | panic("stub called in a config with no networking"); | |
457 | return 0; | |
458 | } | |
459 | ||
460 | int ifnet_get_link_mib_data_length(void); | |
461 | int ifnet_get_link_mib_data_length(void) | |
462 | { | |
463 | panic("stub called in a config with no networking"); | |
464 | return 0; | |
465 | } | |
466 | ||
467 | int ifnet_get_multicast_list(void); | |
468 | int ifnet_get_multicast_list(void) | |
469 | { | |
470 | panic("stub called in a config with no networking"); | |
471 | return 0; | |
472 | } | |
473 | ||
474 | int ifnet_get_service_class_sndq_len(void); | |
475 | int ifnet_get_service_class_sndq_len(void) | |
476 | { | |
477 | panic("stub called in a config with no networking"); | |
478 | return 0; | |
479 | } | |
480 | ||
481 | int ifnet_get_tso_mtu(void); | |
482 | int ifnet_get_tso_mtu(void) | |
483 | { | |
484 | panic("stub called in a config with no networking"); | |
485 | return 0; | |
486 | } | |
487 | ||
488 | int ifnet_get_wake_flags(void); | |
489 | int ifnet_get_wake_flags(void) | |
490 | { | |
491 | panic("stub called in a config with no networking"); | |
492 | return 0; | |
493 | } | |
494 | ||
495 | int ifnet_hdrlen(void); | |
496 | int ifnet_hdrlen(void) | |
497 | { | |
498 | panic("stub called in a config with no networking"); | |
499 | return 0; | |
500 | } | |
501 | ||
502 | int ifnet_index(void); | |
503 | int ifnet_index(void) | |
504 | { | |
505 | panic("stub called in a config with no networking"); | |
506 | return 0; | |
507 | } | |
508 | ||
509 | int ifnet_input(void); | |
510 | int ifnet_input(void) | |
511 | { | |
512 | panic("stub called in a config with no networking"); | |
513 | return 0; | |
514 | } | |
515 | ||
516 | int ifnet_interface_family_find(void); | |
517 | int ifnet_interface_family_find(void) | |
518 | { | |
519 | panic("stub called in a config with no networking"); | |
520 | return 0; | |
521 | } | |
522 | ||
523 | int ifnet_ioctl(void); | |
524 | int ifnet_ioctl(void) | |
525 | { | |
526 | panic("stub called in a config with no networking"); | |
527 | return 0; | |
528 | } | |
529 | ||
530 | int ifnet_lastchange(void); | |
531 | int ifnet_lastchange(void) | |
532 | { | |
533 | panic("stub called in a config with no networking"); | |
534 | return 0; | |
535 | } | |
536 | ||
537 | int ifnet_list_free(void); | |
538 | int ifnet_list_free(void) | |
539 | { | |
540 | panic("stub called in a config with no networking"); | |
541 | return 0; | |
542 | } | |
543 | ||
544 | int ifnet_list_get(void); | |
545 | int ifnet_list_get(void) | |
546 | { | |
547 | panic("stub called in a config with no networking"); | |
548 | return 0; | |
549 | } | |
550 | ||
551 | int ifnet_lladdr(void); | |
552 | int ifnet_lladdr(void) | |
553 | { | |
554 | panic("stub called in a config with no networking"); | |
555 | return 0; | |
556 | } | |
557 | ||
558 | int ifnet_lladdr_copy_bytes(void); | |
559 | int ifnet_lladdr_copy_bytes(void) | |
560 | { | |
561 | panic("stub called in a config with no networking"); | |
562 | return 0; | |
563 | } | |
564 | ||
565 | int ifnet_llbroadcast_copy_bytes(void); | |
566 | int ifnet_llbroadcast_copy_bytes(void) | |
567 | { | |
568 | panic("stub called in a config with no networking"); | |
569 | return 0; | |
570 | } | |
571 | ||
572 | int ifnet_metric(void); | |
573 | int ifnet_metric(void) | |
574 | { | |
575 | panic("stub called in a config with no networking"); | |
576 | return 0; | |
577 | } | |
578 | ||
579 | int ifnet_mtu(void); | |
580 | int ifnet_mtu(void) | |
581 | { | |
582 | panic("stub called in a config with no networking"); | |
583 | return 0; | |
584 | } | |
585 | ||
586 | int ifnet_name(void); | |
587 | int ifnet_name(void) | |
588 | { | |
589 | panic("stub called in a config with no networking"); | |
590 | return 0; | |
591 | } | |
592 | ||
593 | int ifnet_offload(void); | |
594 | int ifnet_offload(void) | |
595 | { | |
596 | panic("stub called in a config with no networking"); | |
597 | return 0; | |
598 | } | |
599 | ||
600 | int ifnet_output(void); | |
601 | int ifnet_output(void) | |
602 | { | |
603 | panic("stub called in a config with no networking"); | |
604 | return 0; | |
605 | } | |
606 | ||
607 | int ifnet_output_raw(void); | |
608 | int ifnet_output_raw(void) | |
609 | { | |
610 | panic("stub called in a config with no networking"); | |
611 | return 0; | |
612 | } | |
613 | ||
614 | int ifnet_reference(void); | |
615 | int ifnet_reference(void) | |
616 | { | |
617 | panic("stub called in a config with no networking"); | |
618 | return 0; | |
619 | } | |
620 | ||
621 | int ifnet_release(void); | |
622 | int ifnet_release(void) | |
623 | { | |
624 | panic("stub called in a config with no networking"); | |
625 | return 0; | |
626 | } | |
627 | ||
628 | int ifnet_remove_multicast(void); | |
629 | int ifnet_remove_multicast(void) | |
630 | { | |
631 | panic("stub called in a config with no networking"); | |
632 | return 0; | |
633 | } | |
634 | ||
635 | int ifnet_resolve_multicast(void); | |
636 | int ifnet_resolve_multicast(void) | |
637 | { | |
638 | panic("stub called in a config with no networking"); | |
639 | return 0; | |
640 | } | |
641 | ||
642 | int ifnet_set_addrlen(void); | |
643 | int ifnet_set_addrlen(void) | |
644 | { | |
645 | panic("stub called in a config with no networking"); | |
646 | return 0; | |
647 | } | |
648 | ||
649 | int ifnet_set_baudrate(void); | |
650 | int ifnet_set_baudrate(void) | |
651 | { | |
652 | panic("stub called in a config with no networking"); | |
653 | return 0; | |
654 | } | |
655 | ||
656 | int ifnet_set_capabilities_enabled(void); | |
657 | int ifnet_set_capabilities_enabled(void) | |
658 | { | |
659 | panic("stub called in a config with no networking"); | |
660 | return 0; | |
661 | } | |
662 | ||
663 | int ifnet_set_capabilities_supported(void); | |
664 | int ifnet_set_capabilities_supported(void) | |
665 | { | |
666 | panic("stub called in a config with no networking"); | |
667 | return 0; | |
668 | } | |
669 | ||
670 | int ifnet_set_delegate(void); | |
671 | int ifnet_set_delegate(void) | |
672 | { | |
673 | panic("stub called in a config with no networking"); | |
674 | return 0; | |
675 | } | |
676 | ||
677 | int ifnet_set_eflags(void); | |
678 | int ifnet_set_eflags(void) | |
679 | { | |
680 | panic("stub called in a config with no networking"); | |
681 | return 0; | |
682 | } | |
683 | ||
684 | int ifnet_set_flags(void); | |
685 | int ifnet_set_flags(void) | |
686 | { | |
687 | panic("stub called in a config with no networking"); | |
688 | return 0; | |
689 | } | |
690 | ||
691 | int ifnet_set_hdrlen(void); | |
692 | int ifnet_set_hdrlen(void) | |
693 | { | |
694 | panic("stub called in a config with no networking"); | |
695 | return 0; | |
696 | } | |
697 | ||
698 | int ifnet_set_link_mib_data(void); | |
699 | int ifnet_set_link_mib_data(void) | |
700 | { | |
701 | panic("stub called in a config with no networking"); | |
702 | return 0; | |
703 | } | |
704 | ||
705 | int ifnet_set_lladdr(void); | |
706 | int ifnet_set_lladdr(void) | |
707 | { | |
708 | panic("stub called in a config with no networking"); | |
709 | return 0; | |
710 | } | |
711 | ||
712 | int ifnet_set_metric(void); | |
713 | int ifnet_set_metric(void) | |
714 | { | |
715 | panic("stub called in a config with no networking"); | |
716 | return 0; | |
717 | } | |
718 | ||
719 | int ifnet_set_mtu(void); | |
720 | int ifnet_set_mtu(void) | |
721 | { | |
722 | panic("stub called in a config with no networking"); | |
723 | return 0; | |
724 | } | |
725 | ||
726 | int ifnet_set_offload(void); | |
727 | int ifnet_set_offload(void) | |
728 | { | |
729 | panic("stub called in a config with no networking"); | |
730 | return 0; | |
731 | } | |
732 | ||
733 | int ifnet_set_promiscuous(void); | |
734 | int ifnet_set_promiscuous(void) | |
735 | { | |
736 | panic("stub called in a config with no networking"); | |
737 | return 0; | |
738 | } | |
739 | ||
740 | int ifnet_set_stat(void); | |
741 | int ifnet_set_stat(void) | |
742 | { | |
743 | panic("stub called in a config with no networking"); | |
744 | return 0; | |
745 | } | |
746 | ||
747 | int ifnet_set_tso_mtu(void); | |
748 | int ifnet_set_tso_mtu(void) | |
749 | { | |
750 | panic("stub called in a config with no networking"); | |
751 | return 0; | |
752 | } | |
753 | ||
754 | int ifnet_set_wake_flags(void); | |
755 | int ifnet_set_wake_flags(void) | |
756 | { | |
757 | panic("stub called in a config with no networking"); | |
758 | return 0; | |
759 | } | |
760 | ||
761 | int ifnet_softc(void); | |
762 | int ifnet_softc(void) | |
763 | { | |
764 | panic("stub called in a config with no networking"); | |
765 | return 0; | |
766 | } | |
767 | ||
768 | int ifnet_stat(void); | |
769 | int ifnet_stat(void) | |
770 | { | |
771 | panic("stub called in a config with no networking"); | |
772 | return 0; | |
773 | } | |
774 | ||
775 | int ifnet_stat_increment(void); | |
776 | int ifnet_stat_increment(void) | |
777 | { | |
778 | panic("stub called in a config with no networking"); | |
779 | return 0; | |
780 | } | |
781 | ||
782 | int ifnet_stat_increment_in(void); | |
783 | int ifnet_stat_increment_in(void) | |
784 | { | |
785 | panic("stub called in a config with no networking"); | |
786 | return 0; | |
787 | } | |
788 | ||
789 | int ifnet_stat_increment_out(void); | |
790 | int ifnet_stat_increment_out(void) | |
791 | { | |
792 | panic("stub called in a config with no networking"); | |
793 | return 0; | |
794 | } | |
795 | ||
796 | int ifnet_touch_lastchange(void); | |
797 | int ifnet_touch_lastchange(void) | |
798 | { | |
799 | panic("stub called in a config with no networking"); | |
800 | return 0; | |
801 | } | |
802 | ||
803 | int ifnet_type(void); | |
804 | int ifnet_type(void) | |
805 | { | |
806 | panic("stub called in a config with no networking"); | |
807 | return 0; | |
808 | } | |
809 | ||
810 | int ifnet_unit(void); | |
811 | int ifnet_unit(void) | |
812 | { | |
813 | panic("stub called in a config with no networking"); | |
814 | return 0; | |
815 | } | |
816 | ||
817 | int in_cksum(void); | |
818 | int in_cksum(void) | |
819 | { | |
820 | panic("stub called in a config with no networking"); | |
821 | return 0; | |
822 | } | |
823 | ||
824 | int inet_arp_handle_input(void); | |
825 | int inet_arp_handle_input(void) | |
826 | { | |
827 | panic("stub called in a config with no networking"); | |
828 | return 0; | |
829 | } | |
830 | ||
831 | int inet_arp_init_ifaddr(void); | |
832 | int inet_arp_init_ifaddr(void) | |
833 | { | |
834 | panic("stub called in a config with no networking"); | |
835 | return 0; | |
836 | } | |
837 | ||
838 | int inet_arp_lookup(void); | |
839 | int inet_arp_lookup(void) | |
840 | { | |
841 | panic("stub called in a config with no networking"); | |
842 | return 0; | |
843 | } | |
844 | ||
845 | int ipf_addv4(void); | |
846 | int ipf_addv4(void) | |
847 | { | |
848 | panic("stub called in a config with no networking"); | |
849 | return 0; | |
850 | } | |
851 | ||
852 | int ipf_addv6(void); | |
853 | int ipf_addv6(void) | |
854 | { | |
855 | panic("stub called in a config with no networking"); | |
856 | return 0; | |
857 | } | |
858 | ||
859 | int ipf_inject_input(void); | |
860 | int ipf_inject_input(void) | |
861 | { | |
862 | panic("stub called in a config with no networking"); | |
863 | return 0; | |
864 | } | |
865 | ||
866 | int ipf_inject_output(void); | |
867 | int ipf_inject_output(void) | |
868 | { | |
869 | panic("stub called in a config with no networking"); | |
870 | return 0; | |
871 | } | |
872 | ||
873 | int ipf_remove(void); | |
874 | int ipf_remove(void) | |
875 | { | |
876 | panic("stub called in a config with no networking"); | |
877 | return 0; | |
878 | } | |
879 | ||
880 | int kev_msg_post(void); | |
881 | int kev_msg_post(void) | |
882 | { | |
883 | panic("stub called in a config with no networking"); | |
884 | return 0; | |
885 | } | |
886 | ||
887 | int kev_vendor_code_find(void); | |
888 | int kev_vendor_code_find(void) | |
889 | { | |
890 | panic("stub called in a config with no networking"); | |
891 | return 0; | |
892 | } | |
893 | ||
894 | int mbuf_adj(void); | |
895 | int mbuf_adj(void) | |
896 | { | |
897 | panic("stub called in a config with no networking"); | |
898 | return 0; | |
899 | } | |
900 | ||
901 | int mbuf_adjustlen(void); | |
902 | int mbuf_adjustlen(void) | |
903 | { | |
904 | panic("stub called in a config with no networking"); | |
905 | return 0; | |
906 | } | |
907 | ||
908 | int mbuf_align_32(void); | |
909 | int mbuf_align_32(void) | |
910 | { | |
911 | panic("stub called in a config with no networking"); | |
912 | return 0; | |
913 | } | |
914 | ||
915 | int mbuf_alloccluster(void); | |
916 | int mbuf_alloccluster(void) | |
917 | { | |
918 | panic("stub called in a config with no networking"); | |
919 | return 0; | |
920 | } | |
921 | ||
922 | int mbuf_allocpacket(void); | |
923 | int mbuf_allocpacket(void) | |
924 | { | |
925 | panic("stub called in a config with no networking"); | |
926 | return 0; | |
927 | } | |
928 | ||
929 | int mbuf_allocpacket_list(void); | |
930 | int mbuf_allocpacket_list(void) | |
931 | { | |
932 | panic("stub called in a config with no networking"); | |
933 | return 0; | |
934 | } | |
935 | ||
936 | int mbuf_attachcluster(void); | |
937 | int mbuf_attachcluster(void) | |
938 | { | |
939 | panic("stub called in a config with no networking"); | |
940 | return 0; | |
941 | } | |
942 | ||
943 | int mbuf_clear_csum_performed(void); | |
944 | int mbuf_clear_csum_performed(void) | |
945 | { | |
946 | panic("stub called in a config with no networking"); | |
947 | return 0; | |
948 | } | |
949 | ||
950 | int mbuf_clear_csum_requested(void); | |
951 | int mbuf_clear_csum_requested(void) | |
952 | { | |
953 | panic("stub called in a config with no networking"); | |
954 | return 0; | |
955 | } | |
956 | ||
957 | int mbuf_clear_vlan_tag(void); | |
958 | int mbuf_clear_vlan_tag(void) | |
959 | { | |
960 | panic("stub called in a config with no networking"); | |
961 | return 0; | |
962 | } | |
963 | ||
964 | int mbuf_concatenate(void); | |
965 | int mbuf_concatenate(void) | |
966 | { | |
967 | panic("stub called in a config with no networking"); | |
968 | return 0; | |
969 | } | |
970 | ||
971 | int mbuf_copy_pkthdr(void); | |
972 | int mbuf_copy_pkthdr(void) | |
973 | { | |
974 | panic("stub called in a config with no networking"); | |
975 | return 0; | |
976 | } | |
977 | ||
978 | int mbuf_copyback(void); | |
979 | int mbuf_copyback(void) | |
980 | { | |
981 | panic("stub called in a config with no networking"); | |
982 | return 0; | |
983 | } | |
984 | ||
985 | int mbuf_copydata(void); | |
986 | int mbuf_copydata(void) | |
987 | { | |
988 | panic("stub called in a config with no networking"); | |
989 | return 0; | |
990 | } | |
991 | ||
992 | int mbuf_copym(void); | |
993 | int mbuf_copym(void) | |
994 | { | |
995 | panic("stub called in a config with no networking"); | |
996 | return 0; | |
997 | } | |
998 | ||
999 | int mbuf_data(void); | |
1000 | int mbuf_data(void) | |
1001 | { | |
1002 | panic("stub called in a config with no networking"); | |
1003 | return 0; | |
1004 | } | |
1005 | ||
1006 | int mbuf_data_to_physical(void); | |
1007 | int mbuf_data_to_physical(void) | |
1008 | { | |
1009 | panic("stub called in a config with no networking"); | |
1010 | return 0; | |
1011 | } | |
1012 | ||
1013 | int mbuf_datastart(void); | |
1014 | int mbuf_datastart(void) | |
1015 | { | |
1016 | panic("stub called in a config with no networking"); | |
1017 | return 0; | |
1018 | } | |
1019 | ||
1020 | int mbuf_dup(void); | |
1021 | int mbuf_dup(void) | |
1022 | { | |
1023 | panic("stub called in a config with no networking"); | |
1024 | return 0; | |
1025 | } | |
1026 | ||
1027 | int mbuf_flags(void); | |
1028 | int mbuf_flags(void) | |
1029 | { | |
1030 | panic("stub called in a config with no networking"); | |
1031 | return 0; | |
1032 | } | |
1033 | ||
1034 | int mbuf_free(void); | |
1035 | int mbuf_free(void) | |
1036 | { | |
1037 | panic("stub called in a config with no networking"); | |
1038 | return 0; | |
1039 | } | |
1040 | ||
1041 | int mbuf_freecluster(void); | |
1042 | int mbuf_freecluster(void) | |
1043 | { | |
1044 | panic("stub called in a config with no networking"); | |
1045 | return 0; | |
1046 | } | |
1047 | ||
1048 | int mbuf_freem(void); | |
1049 | int mbuf_freem(void) | |
1050 | { | |
1051 | panic("stub called in a config with no networking"); | |
1052 | return 0; | |
1053 | } | |
1054 | ||
1055 | int mbuf_freem_list(void); | |
1056 | int mbuf_freem_list(void) | |
1057 | { | |
1058 | panic("stub called in a config with no networking"); | |
1059 | return 0; | |
1060 | } | |
1061 | ||
1062 | int mbuf_get(void); | |
1063 | int mbuf_get(void) | |
1064 | { | |
1065 | panic("stub called in a config with no networking"); | |
1066 | return 0; | |
1067 | } | |
1068 | ||
1069 | int mbuf_get_csum_performed(void); | |
1070 | int mbuf_get_csum_performed(void) | |
1071 | { | |
1072 | panic("stub called in a config with no networking"); | |
1073 | return 0; | |
1074 | } | |
1075 | ||
1076 | int mbuf_get_csum_requested(void); | |
1077 | int mbuf_get_csum_requested(void) | |
1078 | { | |
1079 | panic("stub called in a config with no networking"); | |
1080 | return 0; | |
1081 | } | |
1082 | ||
1083 | int mbuf_get_mhlen(void); | |
1084 | int mbuf_get_mhlen(void) | |
1085 | { | |
1086 | panic("stub called in a config with no networking"); | |
1087 | return 0; | |
1088 | } | |
1089 | ||
1090 | int mbuf_get_minclsize(void); | |
1091 | int mbuf_get_minclsize(void) | |
1092 | { | |
1093 | panic("stub called in a config with no networking"); | |
1094 | return 0; | |
1095 | } | |
1096 | ||
1097 | int mbuf_get_mlen(void); | |
1098 | int mbuf_get_mlen(void) | |
1099 | { | |
1100 | panic("stub called in a config with no networking"); | |
1101 | return 0; | |
1102 | } | |
1103 | ||
1104 | int mbuf_get_traffic_class(void); | |
1105 | int mbuf_get_traffic_class(void) | |
1106 | { | |
1107 | panic("stub called in a config with no networking"); | |
1108 | return 0; | |
1109 | } | |
1110 | ||
1111 | int mbuf_get_tso_requested(void); | |
1112 | int mbuf_get_tso_requested(void) | |
1113 | { | |
1114 | panic("stub called in a config with no networking"); | |
1115 | return 0; | |
1116 | } | |
1117 | ||
1118 | int mbuf_get_vlan_tag(void); | |
1119 | int mbuf_get_vlan_tag(void) | |
1120 | { | |
1121 | panic("stub called in a config with no networking"); | |
1122 | return 0; | |
1123 | } | |
1124 | ||
1125 | int mbuf_getcluster(void); | |
1126 | int mbuf_getcluster(void) | |
1127 | { | |
1128 | panic("stub called in a config with no networking"); | |
1129 | return 0; | |
1130 | } | |
1131 | ||
1132 | int mbuf_gethdr(void); | |
1133 | int mbuf_gethdr(void) | |
1134 | { | |
1135 | panic("stub called in a config with no networking"); | |
1136 | return 0; | |
1137 | } | |
1138 | ||
1139 | int mbuf_getpacket(void); | |
1140 | int mbuf_getpacket(void) | |
1141 | { | |
1142 | panic("stub called in a config with no networking"); | |
1143 | return 0; | |
1144 | } | |
1145 | ||
1146 | int mbuf_inbound_modified(void); | |
1147 | int mbuf_inbound_modified(void) | |
1148 | { | |
1149 | panic("stub called in a config with no networking"); | |
1150 | return 0; | |
1151 | } | |
1152 | ||
1153 | int mbuf_inet_cksum(void); | |
1154 | int mbuf_inet_cksum(void) | |
1155 | { | |
1156 | panic("stub called in a config with no networking"); | |
1157 | return 0; | |
1158 | } | |
1159 | ||
1160 | int mbuf_is_traffic_class_privileged(void); | |
1161 | int mbuf_is_traffic_class_privileged(void) | |
1162 | { | |
1163 | panic("stub called in a config with no networking"); | |
1164 | return 0; | |
1165 | } | |
1166 | ||
1167 | int mbuf_leadingspace(void); | |
1168 | int mbuf_leadingspace(void) | |
1169 | { | |
1170 | panic("stub called in a config with no networking"); | |
1171 | return 0; | |
1172 | } | |
1173 | ||
1174 | int mbuf_len(void); | |
1175 | int mbuf_len(void) | |
1176 | { | |
1177 | panic("stub called in a config with no networking"); | |
1178 | return 0; | |
1179 | } | |
1180 | ||
1181 | int mbuf_maxlen(void); | |
1182 | int mbuf_maxlen(void) | |
1183 | { | |
1184 | panic("stub called in a config with no networking"); | |
1185 | return 0; | |
1186 | } | |
1187 | ||
1188 | int mbuf_mclget(void); | |
1189 | int mbuf_mclget(void) | |
1190 | { | |
1191 | panic("stub called in a config with no networking"); | |
1192 | return 0; | |
1193 | } | |
1194 | ||
1195 | int mbuf_mclhasreference(void); | |
1196 | int mbuf_mclhasreference(void) | |
1197 | { | |
1198 | panic("stub called in a config with no networking"); | |
1199 | return 0; | |
1200 | } | |
1201 | ||
1202 | int mbuf_next(void); | |
1203 | int mbuf_next(void) | |
1204 | { | |
1205 | panic("stub called in a config with no networking"); | |
1206 | return 0; | |
1207 | } | |
1208 | ||
1209 | int mbuf_nextpkt(void); | |
1210 | int mbuf_nextpkt(void) | |
1211 | { | |
1212 | panic("stub called in a config with no networking"); | |
1213 | return 0; | |
1214 | } | |
1215 | ||
1216 | int mbuf_outbound_finalize(void); | |
1217 | int mbuf_outbound_finalize(void) | |
1218 | { | |
1219 | panic("stub called in a config with no networking"); | |
1220 | return 0; | |
1221 | } | |
1222 | ||
1223 | int mbuf_pkthdr_adjustlen(void); | |
1224 | int mbuf_pkthdr_adjustlen(void) | |
1225 | { | |
1226 | panic("stub called in a config with no networking"); | |
1227 | return 0; | |
1228 | } | |
1229 | ||
1230 | int mbuf_pkthdr_header(void); | |
1231 | int mbuf_pkthdr_header(void) | |
1232 | { | |
1233 | panic("stub called in a config with no networking"); | |
1234 | return 0; | |
1235 | } | |
1236 | ||
1237 | int mbuf_pkthdr_len(void); | |
1238 | int mbuf_pkthdr_len(void) | |
1239 | { | |
1240 | panic("stub called in a config with no networking"); | |
1241 | return 0; | |
1242 | } | |
1243 | ||
1244 | int mbuf_pkthdr_rcvif(void); | |
1245 | int mbuf_pkthdr_rcvif(void) | |
1246 | { | |
1247 | panic("stub called in a config with no networking"); | |
1248 | return 0; | |
1249 | } | |
1250 | ||
1251 | int mbuf_pkthdr_setheader(void); | |
1252 | int mbuf_pkthdr_setheader(void) | |
1253 | { | |
1254 | panic("stub called in a config with no networking"); | |
1255 | return 0; | |
1256 | } | |
1257 | ||
1258 | int mbuf_pkthdr_setlen(void); | |
1259 | int mbuf_pkthdr_setlen(void) | |
1260 | { | |
1261 | panic("stub called in a config with no networking"); | |
1262 | return 0; | |
1263 | } | |
1264 | ||
1265 | int mbuf_pkthdr_setrcvif(void); | |
1266 | int mbuf_pkthdr_setrcvif(void) | |
1267 | { | |
1268 | panic("stub called in a config with no networking"); | |
1269 | return 0; | |
1270 | } | |
1271 | ||
1272 | int mbuf_prepend(void); | |
1273 | int mbuf_prepend(void) | |
1274 | { | |
1275 | panic("stub called in a config with no networking"); | |
1276 | return 0; | |
1277 | } | |
1278 | ||
1279 | int mbuf_pulldown(void); | |
1280 | int mbuf_pulldown(void) | |
1281 | { | |
1282 | panic("stub called in a config with no networking"); | |
1283 | return 0; | |
1284 | } | |
1285 | ||
1286 | int mbuf_pullup(void); | |
1287 | int mbuf_pullup(void) | |
1288 | { | |
1289 | panic("stub called in a config with no networking"); | |
1290 | return 0; | |
1291 | } | |
1292 | ||
1293 | int mbuf_set_csum_performed(void); | |
1294 | int mbuf_set_csum_performed(void) | |
1295 | { | |
1296 | panic("stub called in a config with no networking"); | |
1297 | return 0; | |
1298 | } | |
1299 | ||
1300 | int mbuf_set_csum_requested(void); | |
1301 | int mbuf_set_csum_requested(void) | |
1302 | { | |
1303 | panic("stub called in a config with no networking"); | |
1304 | return 0; | |
1305 | } | |
1306 | ||
1307 | int mbuf_set_traffic_class(void); | |
1308 | int mbuf_set_traffic_class(void) | |
1309 | { | |
1310 | panic("stub called in a config with no networking"); | |
1311 | return 0; | |
1312 | } | |
1313 | ||
1314 | int mbuf_set_vlan_tag(void); | |
1315 | int mbuf_set_vlan_tag(void) | |
1316 | { | |
1317 | panic("stub called in a config with no networking"); | |
1318 | return 0; | |
1319 | } | |
1320 | ||
1321 | int mbuf_setdata(void); | |
1322 | int mbuf_setdata(void) | |
1323 | { | |
1324 | panic("stub called in a config with no networking"); | |
1325 | return 0; | |
1326 | } | |
1327 | ||
1328 | int mbuf_setflags(void); | |
1329 | int mbuf_setflags(void) | |
1330 | { | |
1331 | panic("stub called in a config with no networking"); | |
1332 | return 0; | |
1333 | } | |
1334 | ||
1335 | int mbuf_setflags_mask(void); | |
1336 | int mbuf_setflags_mask(void) | |
1337 | { | |
1338 | panic("stub called in a config with no networking"); | |
1339 | return 0; | |
1340 | } | |
1341 | ||
1342 | int mbuf_setlen(void); | |
1343 | int mbuf_setlen(void) | |
1344 | { | |
1345 | panic("stub called in a config with no networking"); | |
1346 | return 0; | |
1347 | } | |
1348 | ||
1349 | int mbuf_setnext(void); | |
1350 | int mbuf_setnext(void) | |
1351 | { | |
1352 | panic("stub called in a config with no networking"); | |
1353 | return 0; | |
1354 | } | |
1355 | ||
1356 | int mbuf_setnextpkt(void); | |
1357 | int mbuf_setnextpkt(void) | |
1358 | { | |
1359 | panic("stub called in a config with no networking"); | |
1360 | return 0; | |
1361 | } | |
1362 | ||
1363 | int mbuf_settype(void); | |
1364 | int mbuf_settype(void) | |
1365 | { | |
1366 | panic("stub called in a config with no networking"); | |
1367 | return 0; | |
1368 | } | |
1369 | ||
1370 | int mbuf_split(void); | |
1371 | int mbuf_split(void) | |
1372 | { | |
1373 | panic("stub called in a config with no networking"); | |
1374 | return 0; | |
1375 | } | |
1376 | ||
1377 | int mbuf_stats(void); | |
1378 | int mbuf_stats(void) | |
1379 | { | |
1380 | panic("stub called in a config with no networking"); | |
1381 | return 0; | |
1382 | } | |
1383 | ||
1384 | int mbuf_tag_allocate(void); | |
1385 | int mbuf_tag_allocate(void) | |
1386 | { | |
1387 | panic("stub called in a config with no networking"); | |
1388 | return 0; | |
1389 | } | |
1390 | ||
1391 | int mbuf_tag_find(void); | |
1392 | int mbuf_tag_find(void) | |
1393 | { | |
1394 | panic("stub called in a config with no networking"); | |
1395 | return 0; | |
1396 | } | |
1397 | ||
1398 | int mbuf_tag_free(void); | |
1399 | int mbuf_tag_free(void) | |
1400 | { | |
1401 | panic("stub called in a config with no networking"); | |
1402 | return 0; | |
1403 | } | |
1404 | ||
1405 | int mbuf_tag_id_find(void); | |
1406 | int mbuf_tag_id_find(void) | |
1407 | { | |
1408 | panic("stub called in a config with no networking"); | |
1409 | return 0; | |
1410 | } | |
1411 | ||
1412 | int mbuf_add_drvaux(void); | |
1413 | int mbuf_add_drvaux(void) | |
1414 | { | |
1415 | panic("stub called in a config with no networking"); | |
1416 | return 0; | |
1417 | } | |
1418 | ||
1419 | int mbuf_find_drvaux(void); | |
1420 | int mbuf_find_drvaux(void) | |
1421 | { | |
1422 | panic("stub called in a config with no networking"); | |
1423 | return 0; | |
1424 | } | |
1425 | ||
1426 | int mbuf_del_drvaux(void); | |
1427 | int mbuf_del_drvaux(void) | |
1428 | { | |
1429 | panic("stub called in a config with no networking"); | |
1430 | return 0; | |
1431 | } | |
1432 | ||
1433 | int mbuf_trailingspace(void); | |
1434 | int mbuf_trailingspace(void) | |
1435 | { | |
1436 | panic("stub called in a config with no networking"); | |
1437 | return 0; | |
1438 | } | |
1439 | ||
1440 | int mbuf_type(void); | |
1441 | int mbuf_type(void) | |
1442 | { | |
1443 | panic("stub called in a config with no networking"); | |
1444 | return 0; | |
1445 | } | |
1446 | ||
1447 | int net_init_add(void); | |
1448 | int net_init_add(void) | |
1449 | { | |
1450 | panic("stub called in a config with no networking"); | |
1451 | return 0; | |
1452 | } | |
1453 | ||
1454 | int proto_inject(void); | |
1455 | int proto_inject(void) | |
1456 | { | |
1457 | panic("stub called in a config with no networking"); | |
1458 | return 0; | |
1459 | } | |
1460 | ||
1461 | int proto_input(void); | |
1462 | int proto_input(void) | |
1463 | { | |
1464 | panic("stub called in a config with no networking"); | |
1465 | return 0; | |
1466 | } | |
1467 | ||
1468 | int proto_register_plumber(void); | |
1469 | int proto_register_plumber(void) | |
1470 | { | |
1471 | panic("stub called in a config with no networking"); | |
1472 | return 0; | |
1473 | } | |
1474 | ||
1475 | int proto_unregister_plumber(void); | |
1476 | int proto_unregister_plumber(void) | |
1477 | { | |
1478 | panic("stub called in a config with no networking"); | |
1479 | return 0; | |
1480 | } | |
1481 | ||
1482 | int sflt_attach(void); | |
1483 | int sflt_attach(void) | |
1484 | { | |
1485 | panic("stub called in a config with no networking"); | |
1486 | return 0; | |
1487 | } | |
1488 | ||
1489 | int sflt_detach(void); | |
1490 | int sflt_detach(void) | |
1491 | { | |
1492 | panic("stub called in a config with no networking"); | |
1493 | return 0; | |
1494 | } | |
1495 | ||
1496 | int sflt_register(void); | |
1497 | int sflt_register(void) | |
1498 | { | |
1499 | panic("stub called in a config with no networking"); | |
1500 | return 0; | |
1501 | } | |
1502 | ||
1503 | int sflt_unregister(void); | |
1504 | int sflt_unregister(void) | |
1505 | { | |
1506 | panic("stub called in a config with no networking"); | |
1507 | return 0; | |
1508 | } | |
1509 | ||
1510 | int sock_accept(void); | |
1511 | int sock_accept(void) | |
1512 | { | |
1513 | panic("stub called in a config with no networking"); | |
1514 | return 0; | |
1515 | } | |
1516 | ||
1517 | int sock_bind(void); | |
1518 | int sock_bind(void) | |
1519 | { | |
1520 | panic("stub called in a config with no networking"); | |
1521 | return 0; | |
1522 | } | |
1523 | ||
1524 | int sock_close(void); | |
1525 | int sock_close(void) | |
1526 | { | |
1527 | panic("stub called in a config with no networking"); | |
1528 | return 0; | |
1529 | } | |
1530 | ||
1531 | int sock_connect(void); | |
1532 | int sock_connect(void) | |
1533 | { | |
1534 | panic("stub called in a config with no networking"); | |
1535 | return 0; | |
1536 | } | |
1537 | ||
1538 | int sock_connectwait(void); | |
1539 | int sock_connectwait(void) | |
1540 | { | |
1541 | panic("stub called in a config with no networking"); | |
1542 | return 0; | |
1543 | } | |
1544 | ||
1545 | int sock_getpeername(void); | |
1546 | int sock_getpeername(void) | |
1547 | { | |
1548 | panic("stub called in a config with no networking"); | |
1549 | return 0; | |
1550 | } | |
1551 | ||
1552 | int sock_getsockname(void); | |
1553 | int sock_getsockname(void) | |
1554 | { | |
1555 | panic("stub called in a config with no networking"); | |
1556 | return 0; | |
1557 | } | |
1558 | ||
1559 | int sock_getsockopt(void); | |
1560 | int sock_getsockopt(void) | |
1561 | { | |
1562 | panic("stub called in a config with no networking"); | |
1563 | return 0; | |
1564 | } | |
1565 | ||
1566 | int sock_gettype(void); | |
1567 | int sock_gettype(void) | |
1568 | { | |
1569 | panic("stub called in a config with no networking"); | |
1570 | return 0; | |
1571 | } | |
1572 | ||
1573 | int sock_inject_data_in(void); | |
1574 | int sock_inject_data_in(void) | |
1575 | { | |
1576 | panic("stub called in a config with no networking"); | |
1577 | return 0; | |
1578 | } | |
1579 | ||
1580 | int sock_inject_data_out(void); | |
1581 | int sock_inject_data_out(void) | |
1582 | { | |
1583 | panic("stub called in a config with no networking"); | |
1584 | return 0; | |
1585 | } | |
1586 | ||
1587 | int sock_ioctl(void); | |
1588 | int sock_ioctl(void) | |
1589 | { | |
1590 | panic("stub called in a config with no networking"); | |
1591 | return 0; | |
1592 | } | |
1593 | ||
1594 | int sock_isconnected(void); | |
1595 | int sock_isconnected(void) | |
1596 | { | |
1597 | panic("stub called in a config with no networking"); | |
1598 | return 0; | |
1599 | } | |
1600 | ||
1601 | int sock_isnonblocking(void); | |
1602 | int sock_isnonblocking(void) | |
1603 | { | |
1604 | panic("stub called in a config with no networking"); | |
1605 | return 0; | |
1606 | } | |
1607 | ||
1608 | int sock_listen(void); | |
1609 | int sock_listen(void) | |
1610 | { | |
1611 | panic("stub called in a config with no networking"); | |
1612 | return 0; | |
1613 | } | |
1614 | ||
1615 | int sock_nointerrupt(void); | |
1616 | int sock_nointerrupt(void) | |
1617 | { | |
1618 | panic("stub called in a config with no networking"); | |
1619 | return 0; | |
1620 | } | |
1621 | ||
1622 | int sock_receive(void); | |
1623 | int sock_receive(void) | |
1624 | { | |
1625 | panic("stub called in a config with no networking"); | |
1626 | return 0; | |
1627 | } | |
1628 | ||
1629 | int sock_receivembuf(void); | |
1630 | int sock_receivembuf(void) | |
1631 | { | |
1632 | panic("stub called in a config with no networking"); | |
1633 | return 0; | |
1634 | } | |
1635 | ||
1636 | int sock_send(void); | |
1637 | int sock_send(void) | |
1638 | { | |
1639 | panic("stub called in a config with no networking"); | |
1640 | return 0; | |
1641 | } | |
1642 | ||
1643 | int sock_sendmbuf(void); | |
1644 | int sock_sendmbuf(void) | |
1645 | { | |
1646 | panic("stub called in a config with no networking"); | |
1647 | return 0; | |
1648 | } | |
1649 | ||
1650 | int sock_setpriv(void); | |
1651 | int sock_setpriv(void) | |
1652 | { | |
1653 | panic("stub called in a config with no networking"); | |
1654 | return 0; | |
1655 | } | |
1656 | ||
1657 | int sock_setsockopt(void); | |
1658 | int sock_setsockopt(void) | |
1659 | { | |
1660 | panic("stub called in a config with no networking"); | |
1661 | return 0; | |
1662 | } | |
1663 | ||
1664 | int sock_shutdown(void); | |
1665 | int sock_shutdown(void) | |
1666 | { | |
1667 | panic("stub called in a config with no networking"); | |
1668 | return 0; | |
1669 | } | |
1670 | ||
1671 | int sock_socket(void); | |
1672 | int sock_socket(void) | |
1673 | { | |
1674 | panic("stub called in a config with no networking"); | |
1675 | return 0; | |
1676 | } | |
1677 | ||
1678 | int sockopt_copyin(void); | |
1679 | int sockopt_copyin(void) | |
1680 | { | |
1681 | panic("stub called in a config with no networking"); | |
1682 | return 0; | |
1683 | } | |
1684 | ||
1685 | int sockopt_copyout(void); | |
1686 | int sockopt_copyout(void) | |
1687 | { | |
1688 | panic("stub called in a config with no networking"); | |
1689 | return 0; | |
1690 | } | |
1691 | ||
1692 | int sockopt_direction(void); | |
1693 | int sockopt_direction(void) | |
1694 | { | |
1695 | panic("stub called in a config with no networking"); | |
1696 | return 0; | |
1697 | } | |
1698 | ||
1699 | int sockopt_level(void); | |
1700 | int sockopt_level(void) | |
1701 | { | |
1702 | panic("stub called in a config with no networking"); | |
1703 | return 0; | |
1704 | } | |
1705 | ||
1706 | int sockopt_name(void); | |
1707 | int sockopt_name(void) | |
1708 | { | |
1709 | panic("stub called in a config with no networking"); | |
1710 | return 0; | |
1711 | } | |
1712 | ||
1713 | int sockopt_valsize(void); | |
1714 | int sockopt_valsize(void) | |
1715 | { | |
1716 | panic("stub called in a config with no networking"); | |
1717 | return 0; | |
1718 | } | |
1719 | ||
1720 | int kev_post_msg(void); | |
1721 | int kev_post_msg(void) | |
1722 | { | |
1723 | panic("stub called in a config with no networking"); | |
1724 | return 0; | |
1725 | } | |
1726 | ||
1727 | int ctl_id_by_name(void); | |
1728 | int ctl_id_by_name(void) | |
1729 | { | |
1730 | panic("stub called in a config with no networking"); | |
1731 | return 0; | |
1732 | } | |
1733 | ||
1734 | int ctl_name_by_id(void); | |
1735 | int ctl_name_by_id(void) | |
1736 | { | |
1737 | panic("stub called in a config with no networking"); | |
1738 | return 0; | |
1739 | } | |
1740 | ||
1741 | int ifnet_allocate_extended(void); | |
1742 | int ifnet_allocate_extended(void) | |
1743 | { | |
1744 | panic("stub called in a config with no networking"); | |
1745 | return 0; | |
1746 | } | |
1747 | ||
1748 | int ifnet_bandwidths(void); | |
1749 | int ifnet_bandwidths(void) | |
1750 | { | |
1751 | panic("stub called in a config with no networking"); | |
1752 | return 0; | |
1753 | } | |
1754 | ||
1755 | int ifnet_clone_attach(void); | |
1756 | int ifnet_clone_attach(void) | |
1757 | { | |
1758 | panic("stub called in a config with no networking"); | |
1759 | return 0; | |
1760 | } | |
1761 | ||
1762 | int ifnet_clone_detach(void); | |
1763 | int ifnet_clone_detach(void) | |
1764 | { | |
1765 | panic("stub called in a config with no networking"); | |
1766 | return 0; | |
1767 | } | |
1768 | ||
1769 | int ifnet_dequeue(void); | |
1770 | int ifnet_dequeue(void) | |
1771 | { | |
1772 | panic("stub called in a config with no networking"); | |
1773 | return 0; | |
1774 | } | |
1775 | ||
1776 | int ifnet_dequeue_multi(void); | |
1777 | int ifnet_dequeue_multi(void) | |
1778 | { | |
1779 | panic("stub called in a config with no networking"); | |
1780 | return 0; | |
1781 | } | |
1782 | ||
1783 | int ifnet_dequeue_service_class(void); | |
1784 | int ifnet_dequeue_service_class(void) | |
1785 | { | |
1786 | panic("stub called in a config with no networking"); | |
1787 | return 0; | |
1788 | } | |
1789 | ||
1790 | int ifnet_dequeue_service_class_multi(void); | |
1791 | int ifnet_dequeue_service_class_multi(void) | |
1792 | { | |
1793 | panic("stub called in a config with no networking"); | |
1794 | return 0; | |
1795 | } | |
1796 | ||
1797 | int ifnet_enqueue(void); | |
1798 | int ifnet_enqueue(void) | |
1799 | { | |
1800 | panic("stub called in a config with no networking"); | |
1801 | return 0; | |
1802 | } | |
1803 | ||
1804 | int ifnet_get_delegate(void); | |
1805 | int ifnet_get_delegate(void) | |
1806 | { | |
1807 | panic("stub called in a config with no networking"); | |
1808 | return 0; | |
1809 | } | |
1810 | ||
1811 | int ifnet_get_inuse_address_list(void); | |
1812 | int ifnet_get_inuse_address_list(void) | |
1813 | { | |
1814 | panic("stub called in a config with no networking"); | |
1815 | return 0; | |
1816 | } | |
1817 | ||
1818 | int ifnet_get_local_ports(void); | |
1819 | int ifnet_get_local_ports(void) | |
1820 | { | |
1821 | panic("stub called in a config with no networking"); | |
1822 | return 0; | |
1823 | } | |
1824 | ||
1825 | int ifnet_get_local_ports_extended(void); | |
1826 | int ifnet_get_local_ports_extended(void) | |
1827 | { | |
1828 | panic("stub called in a config with no networking"); | |
1829 | return 0; | |
1830 | } | |
1831 | ||
1832 | int ifnet_get_rcvq_maxlen(void); | |
1833 | int ifnet_get_rcvq_maxlen(void) | |
1834 | { | |
1835 | panic("stub called in a config with no networking"); | |
1836 | return 0; | |
1837 | } | |
1838 | ||
1839 | int ifnet_get_sndq_len(void); | |
1840 | int ifnet_get_sndq_len(void) | |
1841 | { | |
1842 | panic("stub called in a config with no networking"); | |
1843 | return 0; | |
1844 | } | |
1845 | ||
1846 | int ifnet_get_sndq_maxlen(void); | |
1847 | int ifnet_get_sndq_maxlen(void) | |
1848 | { | |
1849 | panic("stub called in a config with no networking"); | |
1850 | return 0; | |
1851 | } | |
1852 | ||
1853 | int ifnet_idle_flags(void); | |
1854 | int ifnet_idle_flags(void) | |
1855 | { | |
1856 | panic("stub called in a config with no networking"); | |
1857 | return 0; | |
1858 | } | |
1859 | ||
1860 | int ifnet_inet6_defrouter_llreachinfo(void); | |
1861 | int ifnet_inet6_defrouter_llreachinfo(void) | |
1862 | { | |
1863 | panic("stub called in a config with no networking"); | |
1864 | return 0; | |
1865 | } | |
1866 | ||
1867 | int ifnet_inet_defrouter_llreachinfo(void); | |
1868 | int ifnet_inet_defrouter_llreachinfo(void) | |
1869 | { | |
1870 | panic("stub called in a config with no networking"); | |
1871 | return 0; | |
1872 | } | |
1873 | ||
1874 | int ifnet_input_extended(void); | |
1875 | int ifnet_input_extended(void) | |
1876 | { | |
1877 | panic("stub called in a config with no networking"); | |
1878 | return 0; | |
1879 | } | |
1880 | ||
1881 | int ifnet_latencies(void); | |
1882 | int ifnet_latencies(void) | |
1883 | { | |
1884 | panic("stub called in a config with no networking"); | |
1885 | return 0; | |
1886 | } | |
1887 | ||
1888 | int ifnet_link_quality(void); | |
1889 | int ifnet_link_quality(void) | |
1890 | { | |
1891 | panic("stub called in a config with no networking"); | |
1892 | return 0; | |
1893 | } | |
1894 | ||
1895 | int ifnet_notice_master_elected(void); | |
1896 | int ifnet_notice_master_elected(void) | |
1897 | { | |
1898 | panic("stub called in a config with no networking"); | |
1899 | return 0; | |
1900 | } | |
1901 | ||
1902 | int ifnet_notice_node_absence(void); | |
1903 | int ifnet_notice_node_absence(void) | |
1904 | { | |
1905 | panic("stub called in a config with no networking"); | |
1906 | return 0; | |
1907 | } | |
1908 | ||
1909 | int ifnet_notice_node_presence(void); | |
1910 | int ifnet_notice_node_presence(void) | |
1911 | { | |
1912 | panic("stub called in a config with no networking"); | |
1913 | return 0; | |
1914 | } | |
1915 | ||
1916 | int ifnet_poll_params(void); | |
1917 | int ifnet_poll_params(void) | |
1918 | { | |
1919 | panic("stub called in a config with no networking"); | |
1920 | return 0; | |
1921 | } | |
1922 | ||
1923 | int ifnet_purge(void); | |
1924 | int ifnet_purge(void) | |
1925 | { | |
1926 | panic("stub called in a config with no networking"); | |
1927 | return 0; | |
1928 | } | |
1929 | ||
1930 | int ifnet_report_issues(void); | |
1931 | int ifnet_report_issues(void) | |
1932 | { | |
1933 | panic("stub called in a config with no networking"); | |
1934 | return 0; | |
1935 | } | |
1936 | ||
1937 | int ifnet_set_bandwidths(void); | |
1938 | int ifnet_set_bandwidths(void) | |
1939 | { | |
1940 | panic("stub called in a config with no networking"); | |
1941 | return 0; | |
1942 | } | |
1943 | ||
1944 | int ifnet_set_idle_flags(void); | |
1945 | int ifnet_set_idle_flags(void) | |
1946 | { | |
1947 | panic("stub called in a config with no networking"); | |
1948 | return 0; | |
1949 | } | |
1950 | ||
1951 | int ifnet_set_latencies(void); | |
1952 | int ifnet_set_latencies(void) | |
1953 | { | |
1954 | panic("stub called in a config with no networking"); | |
1955 | return 0; | |
1956 | } | |
1957 | ||
1958 | int ifnet_set_link_quality(void); | |
1959 | int ifnet_set_link_quality(void) | |
1960 | { | |
1961 | panic("stub called in a config with no networking"); | |
1962 | return 0; | |
1963 | } | |
1964 | ||
1965 | int ifnet_set_output_sched_model(void); | |
1966 | int ifnet_set_output_sched_model(void) | |
1967 | { | |
1968 | panic("stub called in a config with no networking"); | |
1969 | return 0; | |
1970 | } | |
1971 | ||
1972 | int ifnet_set_poll_params(void); | |
1973 | int ifnet_set_poll_params(void) | |
1974 | { | |
1975 | panic("stub called in a config with no networking"); | |
1976 | return 0; | |
1977 | } | |
1978 | ||
1979 | int ifnet_set_rcvq_maxlen(void); | |
1980 | int ifnet_set_rcvq_maxlen(void) | |
1981 | { | |
1982 | panic("stub called in a config with no networking"); | |
1983 | return 0; | |
1984 | } | |
1985 | ||
1986 | int ifnet_set_sndq_maxlen(void); | |
1987 | int ifnet_set_sndq_maxlen(void) | |
1988 | { | |
1989 | panic("stub called in a config with no networking"); | |
1990 | return 0; | |
1991 | } | |
1992 | ||
1993 | int ifnet_start(void); | |
1994 | int ifnet_start(void) | |
1995 | { | |
1996 | panic("stub called in a config with no networking"); | |
1997 | return 0; | |
1998 | } | |
1999 | ||
2000 | int ifnet_transmit_burst_end(void); | |
2001 | int ifnet_transmit_burst_end(void) | |
2002 | { | |
2003 | panic("stub called in a config with no networking"); | |
2004 | return 0; | |
2005 | } | |
2006 | ||
2007 | int ifnet_transmit_burst_start(void); | |
2008 | int ifnet_transmit_burst_start(void) | |
2009 | { | |
2010 | panic("stub called in a config with no networking"); | |
2011 | return 0; | |
2012 | } | |
2013 | ||
2014 | int ifnet_tx_compl_status(void); | |
2015 | int ifnet_tx_compl_status(void) | |
2016 | { | |
2017 | panic("stub called in a config with no networking"); | |
2018 | return 0; | |
2019 | } | |
2020 | ||
2021 | int ifnet_flowid(void); | |
2022 | int ifnet_flowid(void) | |
2023 | { | |
2024 | panic("stub called in a config with no networking"); | |
2025 | return 0; | |
2026 | } | |
2027 | ||
2028 | int ifnet_enable_output(void); | |
2029 | int ifnet_enable_output(void) | |
2030 | { | |
2031 | panic("stub called in a config with no networking"); | |
2032 | return 0; | |
2033 | } | |
2034 | ||
2035 | int ifnet_disable_output(void); | |
2036 | int ifnet_disable_output(void) | |
2037 | { | |
2038 | panic("stub called in a config with no networking"); | |
2039 | return 0; | |
2040 | } | |
2041 | ||
2042 | int in6_localaddr(void); | |
2043 | int in6_localaddr(void) | |
2044 | { | |
2045 | panic("stub called in a config with no networking"); | |
2046 | return 0; | |
2047 | } | |
2048 | ||
2049 | int in_localaddr(void); | |
2050 | int in_localaddr(void) | |
2051 | { | |
2052 | panic("stub called in a config with no networking"); | |
2053 | return 0; | |
2054 | } | |
2055 | ||
2056 | int in6addr_local(void); | |
2057 | int in6addr_local(void) | |
2058 | { | |
2059 | panic("stub called in a config with no networking"); | |
2060 | return 0; | |
2061 | } | |
2062 | ||
2063 | int inaddr_local(void); | |
2064 | int inaddr_local(void) | |
2065 | { | |
2066 | panic("stub called in a config with no networking"); | |
2067 | return 0; | |
2068 | } | |
2069 | ||
2070 | int inp_clear_INP_INADDR_ANY(void); | |
2071 | int inp_clear_INP_INADDR_ANY(void) | |
2072 | { | |
2073 | panic("stub called in a config with no networking"); | |
2074 | return 0; | |
2075 | } | |
2076 | ||
2077 | int ip_gre_output(void); | |
2078 | int ip_gre_output(void) | |
2079 | { | |
2080 | panic("stub called in a config with no networking"); | |
2081 | return 0; | |
2082 | } | |
2083 | ||
2084 | int m_cat(void); | |
2085 | int m_cat(void) | |
2086 | { | |
2087 | panic("stub called in a config with no networking"); | |
2088 | return 0; | |
2089 | } | |
2090 | ||
2091 | int m_free(void); | |
2092 | int m_free(void) | |
2093 | { | |
2094 | panic("stub called in a config with no networking"); | |
2095 | return 0; | |
2096 | } | |
2097 | ||
2098 | int m_freem(void); | |
2099 | int m_freem(void) | |
2100 | { | |
2101 | panic("stub called in a config with no networking"); | |
2102 | return 0; | |
2103 | } | |
2104 | ||
2105 | int m_get(void); | |
2106 | int m_get(void) | |
2107 | { | |
2108 | panic("stub called in a config with no networking"); | |
2109 | return 0; | |
2110 | } | |
2111 | ||
2112 | int m_gethdr(void); | |
2113 | int m_gethdr(void) | |
2114 | { | |
2115 | panic("stub called in a config with no networking"); | |
2116 | return 0; | |
2117 | } | |
2118 | ||
2119 | int m_mtod(void); | |
2120 | int m_mtod(void) | |
2121 | { | |
2122 | panic("stub called in a config with no networking"); | |
2123 | return 0; | |
2124 | } | |
2125 | ||
2126 | int m_prepend_2(void); | |
2127 | int m_prepend_2(void) | |
2128 | { | |
2129 | panic("stub called in a config with no networking"); | |
2130 | return 0; | |
2131 | } | |
2132 | ||
2133 | int m_pullup(void); | |
2134 | int m_pullup(void) | |
2135 | { | |
2136 | panic("stub called in a config with no networking"); | |
2137 | return 0; | |
2138 | } | |
2139 | ||
2140 | int m_split(void); | |
2141 | int m_split(void) | |
2142 | { | |
2143 | panic("stub called in a config with no networking"); | |
2144 | return 0; | |
2145 | } | |
2146 | ||
2147 | int m_trailingspace(void); | |
2148 | int m_trailingspace(void) | |
2149 | { | |
2150 | panic("stub called in a config with no networking"); | |
2151 | return 0; | |
2152 | } | |
2153 | ||
2154 | int mbuf_get_driver_scratch(void); | |
2155 | int mbuf_get_driver_scratch(void) | |
2156 | { | |
2157 | panic("stub called in a config with no networking"); | |
2158 | return 0; | |
2159 | } | |
2160 | ||
2161 | int mbuf_get_priority(void); | |
2162 | int mbuf_get_priority(void) | |
2163 | { | |
2164 | panic("stub called in a config with no networking"); | |
2165 | return 0; | |
2166 | } | |
2167 | ||
2168 | int mbuf_get_service_class(void); | |
2169 | int mbuf_get_service_class(void) | |
2170 | { | |
2171 | panic("stub called in a config with no networking"); | |
2172 | return 0; | |
2173 | } | |
2174 | ||
2175 | int mbuf_get_service_class_index(void); | |
2176 | int mbuf_get_service_class_index(void) | |
2177 | { | |
2178 | panic("stub called in a config with no networking"); | |
2179 | return 0; | |
2180 | } | |
2181 | ||
2182 | int mbuf_get_service_class_max_count(void); | |
2183 | int mbuf_get_service_class_max_count(void) | |
2184 | { | |
2185 | panic("stub called in a config with no networking"); | |
2186 | return 0; | |
2187 | } | |
2188 | ||
2189 | int mbuf_get_traffic_class_index(void); | |
2190 | int mbuf_get_traffic_class_index(void) | |
2191 | { | |
2192 | panic("stub called in a config with no networking"); | |
2193 | return 0; | |
2194 | } | |
2195 | ||
2196 | int mbuf_get_traffic_class_max_count(void); | |
2197 | int mbuf_get_traffic_class_max_count(void) | |
2198 | { | |
2199 | panic("stub called in a config with no networking"); | |
2200 | return 0; | |
2201 | } | |
2202 | ||
2203 | int mbuf_is_service_class_privileged(void); | |
2204 | int mbuf_is_service_class_privileged(void) | |
2205 | { | |
2206 | panic("stub called in a config with no networking"); | |
2207 | return 0; | |
2208 | } | |
2209 | ||
2210 | int mbuf_pkthdr_aux_flags(void); | |
2211 | int mbuf_pkthdr_aux_flags(void) | |
2212 | { | |
2213 | panic("stub called in a config with no networking"); | |
2214 | return 0; | |
2215 | } | |
2216 | ||
2217 | int mcl_to_paddr(void); | |
2218 | int mcl_to_paddr(void) | |
2219 | { | |
2220 | panic("stub called in a config with no networking"); | |
2221 | return 0; | |
2222 | } | |
2223 | ||
2224 | int net_add_domain(void); | |
2225 | int net_add_domain(void) | |
2226 | { | |
2227 | panic("stub called in a config with no networking"); | |
2228 | return 0; | |
2229 | } | |
2230 | ||
2231 | int net_add_domain_old(void); | |
2232 | int net_add_domain_old(void) | |
2233 | { | |
2234 | panic("stub called in a config with no networking"); | |
2235 | return 0; | |
2236 | } | |
2237 | ||
2238 | int net_add_proto(void); | |
2239 | int net_add_proto(void) | |
2240 | { | |
2241 | panic("stub called in a config with no networking"); | |
2242 | return 0; | |
2243 | } | |
2244 | ||
2245 | int net_add_proto_old(void); | |
2246 | int net_add_proto_old(void) | |
2247 | { | |
2248 | panic("stub called in a config with no networking"); | |
2249 | return 0; | |
2250 | } | |
2251 | ||
2252 | int net_del_domain(void); | |
2253 | int net_del_domain(void) | |
2254 | { | |
2255 | panic("stub called in a config with no networking"); | |
2256 | return 0; | |
2257 | } | |
2258 | ||
2259 | int net_del_domain_old(void); | |
2260 | int net_del_domain_old(void) | |
2261 | { | |
2262 | panic("stub called in a config with no networking"); | |
2263 | return 0; | |
2264 | } | |
2265 | ||
2266 | int net_del_proto(void); | |
2267 | int net_del_proto(void) | |
2268 | { | |
2269 | panic("stub called in a config with no networking"); | |
2270 | return 0; | |
2271 | } | |
2272 | ||
2273 | int net_del_proto_old(void); | |
2274 | int net_del_proto_old(void) | |
2275 | { | |
2276 | panic("stub called in a config with no networking"); | |
2277 | return 0; | |
2278 | } | |
2279 | ||
2280 | int pffinddomain(void); | |
2281 | int pffinddomain(void) | |
2282 | { | |
2283 | panic("stub called in a config with no networking"); | |
2284 | return 0; | |
2285 | } | |
2286 | ||
2287 | int pffinddomain_old(void); | |
2288 | int pffinddomain_old(void) | |
2289 | { | |
2290 | panic("stub called in a config with no networking"); | |
2291 | return 0; | |
2292 | } | |
2293 | ||
2294 | int pffindproto(void); | |
2295 | int pffindproto(void) | |
2296 | { | |
2297 | panic("stub called in a config with no networking"); | |
2298 | return 0; | |
2299 | } | |
2300 | ||
2301 | int pffindproto_old(void); | |
2302 | int pffindproto_old(void) | |
2303 | { | |
2304 | panic("stub called in a config with no networking"); | |
2305 | return 0; | |
2306 | } | |
2307 | ||
2308 | int pru_abort_notsupp(void); | |
2309 | int pru_abort_notsupp(void) | |
2310 | { | |
2311 | panic("stub called in a config with no networking"); | |
2312 | return 0; | |
2313 | } | |
2314 | ||
2315 | int pru_accept_notsupp(void); | |
2316 | int pru_accept_notsupp(void) | |
2317 | { | |
2318 | panic("stub called in a config with no networking"); | |
2319 | return 0; | |
2320 | } | |
2321 | ||
2322 | int pru_bind_notsupp(void); | |
2323 | int pru_bind_notsupp(void) | |
2324 | { | |
2325 | panic("stub called in a config with no networking"); | |
2326 | return 0; | |
2327 | } | |
2328 | ||
2329 | int pru_connect2_notsupp(void); | |
2330 | int pru_connect2_notsupp(void) | |
2331 | { | |
2332 | panic("stub called in a config with no networking"); | |
2333 | return 0; | |
2334 | } | |
2335 | ||
2336 | int pru_connect_notsupp(void); | |
2337 | int pru_connect_notsupp(void) | |
2338 | { | |
2339 | panic("stub called in a config with no networking"); | |
2340 | return 0; | |
2341 | } | |
2342 | ||
2343 | int pru_disconnect_notsupp(void); | |
2344 | int pru_disconnect_notsupp(void) | |
2345 | { | |
2346 | panic("stub called in a config with no networking"); | |
2347 | return 0; | |
2348 | } | |
2349 | ||
2350 | int pru_listen_notsupp(void); | |
2351 | int pru_listen_notsupp(void) | |
2352 | { | |
2353 | panic("stub called in a config with no networking"); | |
2354 | return 0; | |
2355 | } | |
2356 | ||
2357 | int pru_peeraddr_notsupp(void); | |
2358 | int pru_peeraddr_notsupp(void) | |
2359 | { | |
2360 | panic("stub called in a config with no networking"); | |
2361 | return 0; | |
2362 | } | |
2363 | ||
2364 | int pru_rcvd_notsupp(void); | |
2365 | int pru_rcvd_notsupp(void) | |
2366 | { | |
2367 | panic("stub called in a config with no networking"); | |
2368 | return 0; | |
2369 | } | |
2370 | ||
2371 | int pru_rcvoob_notsupp(void); | |
2372 | int pru_rcvoob_notsupp(void) | |
2373 | { | |
2374 | panic("stub called in a config with no networking"); | |
2375 | return 0; | |
2376 | } | |
2377 | ||
2378 | int pru_send_notsupp(void); | |
2379 | int pru_send_notsupp(void) | |
2380 | { | |
2381 | panic("stub called in a config with no networking"); | |
2382 | return 0; | |
2383 | } | |
2384 | ||
2385 | int pru_sense_null(void); | |
2386 | int pru_sense_null(void) | |
2387 | { | |
2388 | panic("stub called in a config with no networking"); | |
2389 | return 0; | |
2390 | } | |
2391 | ||
2392 | int pru_shutdown_notsupp(void); | |
2393 | int pru_shutdown_notsupp(void) | |
2394 | { | |
2395 | panic("stub called in a config with no networking"); | |
2396 | return 0; | |
2397 | } | |
2398 | ||
2399 | int pru_sockaddr_notsupp(void); | |
2400 | int pru_sockaddr_notsupp(void) | |
2401 | { | |
2402 | panic("stub called in a config with no networking"); | |
2403 | return 0; | |
2404 | } | |
2405 | ||
2406 | int pru_sopoll_notsupp(void); | |
2407 | int pru_sopoll_notsupp(void) | |
2408 | { | |
2409 | panic("stub called in a config with no networking"); | |
2410 | return 0; | |
2411 | } | |
2412 | ||
2413 | int sbappendaddr(void); | |
2414 | int sbappendaddr(void) | |
2415 | { | |
2416 | panic("stub called in a config with no networking"); | |
2417 | return 0; | |
2418 | } | |
2419 | ||
2420 | int sbappendrecord(void); | |
2421 | int sbappendrecord(void) | |
2422 | { | |
2423 | panic("stub called in a config with no networking"); | |
2424 | return 0; | |
2425 | } | |
2426 | ||
2427 | int sbflush(void); | |
2428 | int sbflush(void) | |
2429 | { | |
2430 | panic("stub called in a config with no networking"); | |
2431 | return 0; | |
2432 | } | |
2433 | ||
2434 | int sbspace(void); | |
2435 | int sbspace(void) | |
2436 | { | |
2437 | panic("stub called in a config with no networking"); | |
2438 | return 0; | |
2439 | } | |
2440 | ||
2441 | int soabort(void); | |
2442 | int soabort(void) | |
2443 | { | |
2444 | panic("stub called in a config with no networking"); | |
2445 | return 0; | |
2446 | } | |
2447 | ||
2448 | int socantrcvmore(void); | |
2449 | int socantrcvmore(void) | |
2450 | { | |
2451 | panic("stub called in a config with no networking"); | |
2452 | return 0; | |
2453 | } | |
2454 | ||
2455 | int socantsendmore(void); | |
2456 | int socantsendmore(void) | |
2457 | { | |
2458 | panic("stub called in a config with no networking"); | |
2459 | return 0; | |
2460 | } | |
2461 | ||
2462 | int sock_getlistener(void); | |
2463 | int sock_getlistener(void) | |
2464 | { | |
2465 | panic("stub called in a config with no networking"); | |
2466 | return 0; | |
2467 | } | |
2468 | ||
2469 | int sock_gettclassopt(void); | |
2470 | int sock_gettclassopt(void) | |
2471 | { | |
2472 | panic("stub called in a config with no networking"); | |
2473 | return 0; | |
2474 | } | |
2475 | ||
2476 | int sock_release(void); | |
2477 | int sock_release(void) | |
2478 | { | |
2479 | panic("stub called in a config with no networking"); | |
2480 | return 0; | |
2481 | } | |
2482 | ||
2483 | int sock_retain(void); | |
2484 | int sock_retain(void) | |
2485 | { | |
2486 | panic("stub called in a config with no networking"); | |
2487 | return 0; | |
2488 | } | |
2489 | ||
2490 | int sock_settclassopt(void); | |
2491 | int sock_settclassopt(void) | |
2492 | { | |
2493 | panic("stub called in a config with no networking"); | |
2494 | return 0; | |
2495 | } | |
2496 | ||
2497 | int sock_catchevents(void); | |
2498 | int sock_catchevents(void) | |
2499 | { | |
2500 | panic("stub called in a config with no networking"); | |
2501 | return 0; | |
2502 | } | |
2503 | ||
2504 | int sock_setupcall(void); | |
2505 | int sock_setupcall(void) | |
2506 | { | |
2507 | panic("stub called in a config with no networking"); | |
2508 | return 0; | |
2509 | } | |
2510 | ||
2511 | int sock_setupcalls(void); | |
2512 | int sock_setupcalls(void) | |
2513 | { | |
2514 | panic("stub called in a config with no networking"); | |
2515 | return 0; | |
2516 | } | |
2517 | ||
2518 | int sodisconnect(void); | |
2519 | int sodisconnect(void) | |
2520 | { | |
2521 | panic("stub called in a config with no networking"); | |
2522 | return 0; | |
2523 | } | |
2524 | ||
2525 | int sofree(void); | |
2526 | int sofree(void) | |
2527 | { | |
2528 | panic("stub called in a config with no networking"); | |
2529 | return 0; | |
2530 | } | |
2531 | ||
2532 | int sofreelastref(void); | |
2533 | int sofreelastref(void) | |
2534 | { | |
2535 | panic("stub called in a config with no networking"); | |
2536 | return 0; | |
2537 | } | |
2538 | ||
2539 | int soisconnected(void); | |
2540 | int soisconnected(void) | |
2541 | { | |
2542 | panic("stub called in a config with no networking"); | |
2543 | return 0; | |
2544 | } | |
2545 | ||
2546 | int soisconnecting(void); | |
2547 | int soisconnecting(void) | |
2548 | { | |
2549 | panic("stub called in a config with no networking"); | |
2550 | return 0; | |
2551 | } | |
2552 | ||
2553 | int soisdisconnected(void); | |
2554 | int soisdisconnected(void) | |
2555 | { | |
2556 | panic("stub called in a config with no networking"); | |
2557 | return 0; | |
2558 | } | |
2559 | ||
2560 | int soisdisconnecting(void); | |
2561 | int soisdisconnecting(void) | |
2562 | { | |
2563 | panic("stub called in a config with no networking"); | |
2564 | return 0; | |
2565 | } | |
2566 | ||
2567 | int sonewconn(void); | |
2568 | int sonewconn(void) | |
2569 | { | |
2570 | panic("stub called in a config with no networking"); | |
2571 | return 0; | |
2572 | } | |
2573 | ||
2574 | int sooptcopyin(void); | |
2575 | int sooptcopyin(void) | |
2576 | { | |
2577 | panic("stub called in a config with no networking"); | |
2578 | return 0; | |
2579 | } | |
2580 | ||
2581 | int sooptcopyout(void); | |
2582 | int sooptcopyout(void) | |
2583 | { | |
2584 | panic("stub called in a config with no networking"); | |
2585 | return 0; | |
2586 | } | |
2587 | ||
2588 | int sopoll(void); | |
2589 | int sopoll(void) | |
2590 | { | |
2591 | panic("stub called in a config with no networking"); | |
2592 | return 0; | |
2593 | } | |
2594 | ||
2595 | int soreceive(void); | |
2596 | int soreceive(void) | |
2597 | { | |
2598 | panic("stub called in a config with no networking"); | |
2599 | return 0; | |
2600 | } | |
2601 | ||
2602 | int soreserve(void); | |
2603 | int soreserve(void) | |
2604 | { | |
2605 | panic("stub called in a config with no networking"); | |
2606 | return 0; | |
2607 | } | |
2608 | ||
2609 | int sorwakeup(void); | |
2610 | int sorwakeup(void) | |
2611 | { | |
2612 | panic("stub called in a config with no networking"); | |
2613 | return 0; | |
2614 | } | |
2615 | ||
2616 | int sosend(void); | |
2617 | int sosend(void) | |
2618 | { | |
2619 | panic("stub called in a config with no networking"); | |
2620 | return 0; | |
2621 | } | |
2622 | ||
2623 | ||
2624 | ||
2625 | int utun_ctl_disable_crypto_dtls(void); | |
2626 | int utun_ctl_disable_crypto_dtls(void) | |
2627 | { | |
2628 | panic("stub called in a config with no networking"); | |
2629 | return 0; | |
2630 | } | |
2631 | ||
2632 | int utun_ctl_register_dtls(void); | |
2633 | int utun_ctl_register_dtls(void) | |
2634 | { | |
2635 | panic("stub called in a config with no networking"); | |
2636 | return 0; | |
2637 | } | |
2638 | ||
2639 | int utun_pkt_dtls_input(void); | |
2640 | int utun_pkt_dtls_input(void) | |
2641 | { | |
2642 | panic("stub called in a config with no networking"); | |
2643 | return 0; | |
2644 | } | |
2645 | ||
2646 | ||
2647 | int dlil_resolve_multi(void); | |
2648 | int dlil_resolve_multi(void) | |
2649 | { | |
2650 | panic("stub called in a config with no networking"); | |
2651 | return 0; | |
2652 | } | |
2653 | ||
2654 | ||
2655 | int inet_cksum_simple(void); | |
2656 | int inet_cksum_simple(void) | |
2657 | { | |
2658 | panic("stub called in a config with no networking"); | |
2659 | return 0; | |
2660 | } | |
2661 | ||
2662 | ||
2663 | int arp_ip_handle_input(void); | |
2664 | int arp_ip_handle_input(void) | |
2665 | { | |
2666 | panic("stub called in a config with no networking"); | |
2667 | return 0; | |
2668 | } | |
2669 | ||
2670 | int arp_ifinit(void); | |
2671 | int arp_ifinit(void) | |
2672 | { | |
2673 | panic("stub called in a config with no networking"); | |
2674 | return 0; | |
2675 | } | |
2676 | ||
2677 | int arp_lookup_ip(void); | |
2678 | int arp_lookup_ip(void) | |
2679 | { | |
2680 | panic("stub called in a config with no networking"); | |
2681 | return 0; | |
2682 | } | |
2683 | ||
2684 | int ip_gre_register_input(void); | |
2685 | int ip_gre_register_input(void) | |
2686 | { | |
2687 | panic("stub called in a config with no networking"); | |
2688 | return 0; | |
2689 | ||
2690 | } | |
2691 | ||
2692 | #endif |