Lines Matching refs:errno_t
184 typedef errno_t (*bpf_packet_func)(ifnet_t interface, mbuf_t data);
197 typedef errno_t (*ifnet_output_func)(ifnet_t interface, mbuf_t data);
213 typedef errno_t (*ifnet_ioctl_func)(ifnet_t interface, u_int32_t cmd, void *data);
220 typedef errno_t (*ifnet_set_bpf_tap)(ifnet_t interface, bpf_tap_mode mode,
258 typedef errno_t (*ifnet_demux_func)(ifnet_t interface, mbuf_t packet,
292 typedef errno_t (*ifnet_framer_func)(ifnet_t interface, mbuf_t *packet,
313 typedef errno_t (*ifnet_add_proto_func)(ifnet_t interface,
331 typedef errno_t (*ifnet_del_proto_func)(ifnet_t interface,
350 typedef errno_t (*ifnet_check_multi)(ifnet_t interface,
368 typedef errno_t (*proto_media_input)(ifnet_t ifp, protocol_family_t protocol,
388 typedef errno_t (*proto_media_input_v2)(ifnet_t ifp, protocol_family_t protocol,
411 typedef errno_t (*proto_media_preout)(ifnet_t ifp, protocol_family_t protocol,
447 typedef errno_t (*proto_media_ioctl)(ifnet_t ifp, protocol_family_t protocol,
459 typedef errno_t (*proto_media_detached)(ifnet_t ifp, protocol_family_t protocol);
473 typedef errno_t (*proto_media_resolve_multi)(ifnet_t ifp,
503 typedef errno_t (*proto_media_send_arp)(ifnet_t ifp,
719 errno_t ifnet_allocate(const struct ifnet_init_params *init, ifnet_t *interface);
729 errno_t ifnet_reference(ifnet_t interface);
739 errno_t ifnet_release(ifnet_t interface);
759 errno_t ifnet_attach(ifnet_t interface, const struct sockaddr_dl *ll_addr);
785 errno_t ifnet_detach(ifnet_t interface);
847 errno_t ifnet_set_flags(ifnet_t interface, u_int16_t new_flags, u_int16_t mask);
872 errno_t ifnet_set_eflags(ifnet_t interface, u_int32_t new_flags, u_int32_t mask);
895 errno_t ifnet_set_offload(ifnet_t interface, ifnet_offload_t offload);
922 errno_t ifnet_set_link_mib_data(ifnet_t interface, void *mibData, u_int32_t mibLen);
938 errno_t ifnet_get_link_mib_data(ifnet_t interface, void *mibData, u_int32_t *mibLen);
958 errno_t ifnet_attach_protocol(ifnet_t interface, protocol_family_t protocol_family,
972 errno_t ifnet_attach_protocol_v2(ifnet_t interface, protocol_family_t protocol_family,
983 errno_t ifnet_detach_protocol(ifnet_t interface, protocol_family_t protocol_family);
1007 errno_t ifnet_output(ifnet_t interface, protocol_family_t protocol_family, mbuf_t packet,
1027 errno_t ifnet_output_raw(ifnet_t interface, protocol_family_t protocol_family, mbuf_t packet);
1043 errno_t ifnet_input(ifnet_t interface, mbuf_t first_packet,
1062 errno_t ifnet_ioctl(ifnet_t interface, protocol_family_t protocol,
1073 errno_t ifnet_event(ifnet_t interface, struct kern_event_msg* event_ptr);
1088 errno_t ifnet_set_mtu(ifnet_t interface, u_int32_t mtu);
1114 errno_t ifnet_set_addrlen(ifnet_t interface, u_int8_t addrlen);
1133 errno_t ifnet_set_hdrlen(ifnet_t interface, u_int8_t hdrlen);
1152 errno_t ifnet_set_metric(ifnet_t interface, u_int32_t metric);
1171 errno_t ifnet_set_baudrate(ifnet_t interface, u_int64_t baudrate);
1192 errno_t ifnet_stat_increment(ifnet_t interface,
1212 errno_t ifnet_stat_increment_in(ifnet_t interface,
1231 errno_t ifnet_stat_increment_out(ifnet_t interface,
1248 errno_t ifnet_set_stat(ifnet_t interface,
1257 errno_t ifnet_stat(ifnet_t interface,
1275 errno_t ifnet_set_promiscuous(ifnet_t interface, int on);
1283 errno_t ifnet_touch_lastchange(ifnet_t interface);
1291 errno_t ifnet_lastchange(ifnet_t interface, struct timeval *last_change);
1306 errno_t ifnet_get_address_list(ifnet_t interface, ifaddr_t **addresses);
1323 errno_t ifnet_get_address_list_family(ifnet_t interface, ifaddr_t **addresses, sa_family_t family);
1343 errno_t ifnet_set_lladdr(ifnet_t interface, const void* lladdr, size_t lladdr_len);
1354 errno_t ifnet_lladdr_copy_bytes(ifnet_t interface, void* lladdr, size_t length);
1375 errno_t ifnet_llbroadcast_copy_bytes(ifnet_t interface, void* addr,
1391 errno_t ifnet_set_lladdr_and_type(ifnet_t interface, const void* lladdr, size_t length, u_char type);
1408 errno_t ifnet_resolve_multicast(ifnet_t ifp, const struct sockaddr *proto_addr,
1425 errno_t ifnet_add_multicast(ifnet_t interface, const struct sockaddr *maddr,
1452 errno_t ifnet_remove_multicast(ifmultiaddr_t multicast);
1467 errno_t ifnet_get_multicast_list(ifnet_t interface, ifmultiaddr_t **addresses);
1490 errno_t ifnet_find_by_name(const char *ifname, ifnet_t *interface);
1506 errno_t ifnet_list_get(ifnet_family_t family, ifnet_t **interfaces, u_int32_t *count);
1524 errno_t ifnet_list_get_all(ifnet_family_t family, ifnet_t **interfaces, u_int32_t *count);
1549 errno_t ifaddr_reference(ifaddr_t ifaddr);
1558 errno_t ifaddr_release(ifaddr_t ifaddr);
1568 errno_t ifaddr_address(ifaddr_t ifaddr, struct sockaddr *out_addr, u_int32_t addr_size);
1586 errno_t ifaddr_dstaddress(ifaddr_t ifaddr, struct sockaddr *out_dstaddr, u_int32_t dstaddr_size);
1596 errno_t ifaddr_netmask(ifaddr_t ifaddr, struct sockaddr *out_netmask, u_int32_t netmask_size);
1679 errno_t ifmaddr_reference(ifmultiaddr_t ifmaddr);
1690 errno_t ifmaddr_release(ifmultiaddr_t ifmaddr);
1699 errno_t ifmaddr_address(ifmultiaddr_t ifmaddr, struct sockaddr *out_multicast, u_int32_t addr_size);
1709 errno_t ifmaddr_lladdress(ifmultiaddr_t ifmaddr, struct sockaddr *out_link_layer_multicast,