ethernet.h (78cfb6a09cdd44193d990c521eb25a0c3aa185eb) ethernet.h (995c7fd1bf57d48a40605c36ffaacfb048d677eb)
1/*
2 * Fundamental constants relating to ethernet.
3 *
4 * $FreeBSD$
5 *
6 */
7
8#ifndef _NET_ETHERNET_H_

--- 365 unchanged lines hidden (view full) ---

374struct sockaddr;
375struct bpf_if;
376
377extern uint32_t ether_crc32_le(const uint8_t *, size_t);
378extern uint32_t ether_crc32_be(const uint8_t *, size_t);
379extern void ether_demux(struct ifnet *, struct mbuf *);
380extern void ether_ifattach(struct ifnet *, const u_int8_t *);
381extern void ether_ifdetach(struct ifnet *);
1/*
2 * Fundamental constants relating to ethernet.
3 *
4 * $FreeBSD$
5 *
6 */
7
8#ifndef _NET_ETHERNET_H_

--- 365 unchanged lines hidden (view full) ---

374struct sockaddr;
375struct bpf_if;
376
377extern uint32_t ether_crc32_le(const uint8_t *, size_t);
378extern uint32_t ether_crc32_be(const uint8_t *, size_t);
379extern void ether_demux(struct ifnet *, struct mbuf *);
380extern void ether_ifattach(struct ifnet *, const u_int8_t *);
381extern void ether_ifdetach(struct ifnet *);
382extern int ether_ioctl(struct ifnet *, int, caddr_t);
382extern int ether_ioctl(struct ifnet *, u_long, caddr_t);
383extern int ether_output(struct ifnet *,
384 struct mbuf *, struct sockaddr *, struct rtentry *);
385extern int ether_output_frame(struct ifnet *, struct mbuf *);
386extern char *ether_sprintf(const u_int8_t *);
387void ether_vlan_mtap(struct bpf_if *, struct mbuf *,
388 void *, u_int);
389
390#else /* _KERNEL */

--- 19 unchanged lines hidden ---
383extern int ether_output(struct ifnet *,
384 struct mbuf *, struct sockaddr *, struct rtentry *);
385extern int ether_output_frame(struct ifnet *, struct mbuf *);
386extern char *ether_sprintf(const u_int8_t *);
387void ether_vlan_mtap(struct bpf_if *, struct mbuf *,
388 void *, u_int);
389
390#else /* _KERNEL */

--- 19 unchanged lines hidden ---