Changeset View
Changeset View
Standalone View
Standalone View
sys/net/if_ethersubr.c
Show First 20 Lines • Show All 109 Lines • ▼ Show 20 Lines | |||||
static int ether_resolvemulti(struct ifnet *, struct sockaddr **, | static int ether_resolvemulti(struct ifnet *, struct sockaddr **, | ||||
struct sockaddr *); | struct sockaddr *); | ||||
#ifdef VIMAGE | #ifdef VIMAGE | ||||
static void ether_reassign(struct ifnet *, struct vnet *, char *); | static void ether_reassign(struct ifnet *, struct vnet *, char *); | ||||
#endif | #endif | ||||
static int ether_requestencap(struct ifnet *, struct if_encap_req *); | static int ether_requestencap(struct ifnet *, struct if_encap_req *); | ||||
#define ETHER_IS_BROADCAST(addr) \ | |||||
(bcmp(etherbroadcastaddr, (addr), ETHER_ADDR_LEN) == 0) | |||||
#define senderr(e) do { error = (e); goto bad;} while (0) | #define senderr(e) do { error = (e); goto bad;} while (0) | ||||
static void | static void | ||||
update_mbuf_csumflags(struct mbuf *src, struct mbuf *dst) | update_mbuf_csumflags(struct mbuf *src, struct mbuf *dst) | ||||
{ | { | ||||
int csum_flags = 0; | int csum_flags = 0; | ||||
▲ Show 20 Lines • Show All 1,118 Lines • Show Last 20 Lines |