X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/2d21ac55c334faf3a56e5634905ed6987fc787d4..99c3a10404e5d1ef94397ab4df5a8b74711fc4d3:/bsd/net/if_ether.h diff --git a/bsd/net/if_ether.h b/bsd/net/if_ether.h index 44e73fa71..a0235a74d 100644 --- a/bsd/net/if_ether.h +++ b/bsd/net/if_ether.h @@ -50,11 +50,16 @@ errno_t ether_add_proto(ifnet_t interface, protocol_family_t protocol, errno_t ether_del_proto(ifnet_t interface, protocol_family_t protocol); errno_t ether_frameout(ifnet_t interface, mbuf_t *packet, const struct sockaddr *dest, const char *dest_lladdr, - const char *frame_type); + const char *frame_type +#if KPI_INTERFACE_EMBEDDED + , + u_int32_t *prepend_len, u_int32_t *postpend_len +#endif /* KPI_INTERFACE_EMBEDDED */ + ); errno_t ether_ioctl(ifnet_t interface, u_int32_t command, void* data); errno_t ether_check_multi(ifnet_t ifp, const struct sockaddr *multicast); __END_DECLS -#endif KERNEL -#endif _NET_IF_ETHER_H +#endif /* KERNEL */ +#endif /* _NET_IF_ETHER_H */