Lines Matching refs:interface

32 Application of kernel control for interface creation
36 This kernel control will register an interface for every client that connects.
71 static errno_t utun_output(ifnet_t interface, mbuf_t data);
72 static errno_t utun_demux(ifnet_t interface, mbuf_t data, char *frame_header,
74 static errno_t utun_framer(ifnet_t interface, mbuf_t *packet,
82 static errno_t utun_add_proto(ifnet_t interface, protocol_family_t protocol,
85 static errno_t utun_del_proto(ifnet_t interface, protocol_family_t protocol);
86 static errno_t utun_ioctl(ifnet_t interface, u_long cmd, void *data);
87 static void utun_detached(ifnet_t interface);
90 static errno_t utun_attach_proto(ifnet_t interface, protocol_family_t proto);
91 static errno_t utun_proto_input(ifnet_t interface, protocol_family_t protocol,
93 static errno_t utun_proto_pre_output(ifnet_t interface, protocol_family_t protocol,
134 /* Find a unique value for our interface family */
194 /* kernel control allocates, interface frees */
205 printf("utun_ctl_connect: creating interface utun%d\n", pcb->utun_unit - 1);
207 /* Create the interface */
234 /* The interface must generate its own IPv6 LinkLocal address,
235 * if possible following the recommendation of RFC2472 to the 64bit interface ID
239 /* Reset the stats in case as the interface may have been recycled */
243 /* Attach the interface */
264 ifnet_t interface,
276 ifnet_name(interface), ifnet_unit(interface));
285 ifnet_name(interface), ifnet_unit(interface));
295 ifnet_t interface,
308 ifnet_name(interface), ifnet_unit(interface));
325 ifnet_name(interface), ifnet_unit(interface));
344 ifnet_t interface,
369 result = utun_detach_ip(interface, protocol, pf_socket);
384 result = ifnet_get_address_list_family(interface, &addresses, protocol);
387 ifnet_name(interface), ifnet_unit(interface),
393 utun_remove_address(interface, protocol, addresses[i], pf_socket);
401 result = utun_detach_ip(interface, protocol, pf_socket);
430 * We want to do everything in our power to ensure that the interface
433 * release the interface.
597 ifnet_t interface,
600 struct utun_pcb *pcb = ifnet_softc(interface);
628 ifnet_stat_increment_out(interface, 0, 0, 1);
632 ifnet_stat_increment_out(interface, 1, length, 0);
644 __unused ifnet_t interface,
663 __unused ifnet_t interface,
678 ifnet_stat_increment_out(interface, 0, 0, 1);
696 __unused ifnet_t interface,
715 __unused ifnet_t interface,
723 ifnet_t interface,
731 ifnet_set_mtu(interface, ((struct ifreq*)data)->ifr_mtu);
747 ifnet_t interface)
749 struct utun_pcb *pcb = ifnet_softc(interface);
760 __unused ifnet_t interface,
777 __unused ifnet_t interface,
792 ifnet_t interface,
802 result = ifnet_attach_protocol(interface, protocol, &proto);