Home
last modified time | relevance | path

Searched refs:ndrv_cb (Results 1 – 3 of 3) sorted by relevance

/xnu-11417.121.6/bsd/net/
H A Dndrv.c95 static int ndrv_do_detach(struct ndrv_cb *);
96 static int ndrv_do_disconnect(struct ndrv_cb *);
97 static struct ndrv_cb *ndrv_find_inbound(struct ifnet *ifp, u_int32_t protocol_family);
98 static int ndrv_setspec(struct ndrv_cb *np, struct sockopt *sopt);
99 static int ndrv_delspec(struct ndrv_cb *);
102 static int ndrv_do_add_multicast(struct ndrv_cb *np, struct sockopt *sopt);
103 static int ndrv_do_remove_multicast(struct ndrv_cb *np, struct sockopt *sopt);
104 static struct ndrv_multiaddr* ndrv_have_multicast(struct ndrv_cb *np, struct sockaddr* addr);
105 static void ndrv_remove_all_multicast(struct ndrv_cb *np);
110 TAILQ_HEAD(, ndrv_cb) ndrvl = TAILQ_HEAD_INITIALIZER(ndrvl);
[all …]
H A Dndrv_var.h55 struct ndrv_cb { struct
56 TAILQ_ENTRY(ndrv_cb) nd_next;
72 #define sotondrvcb(so) ((struct ndrv_cb *)(so)->so_pcb) argument
/xnu-11417.121.6/bsd/kern/
H A Dsocket_info.c207 struct ndrv_cb *ndrv_cb = (struct ndrv_cb *)so->so_pcb; in fill_socketinfo() local
213 if (ndrv_cb->nd_if != 0) { in fill_socketinfo()
214 struct ifnet *ifp = ndrv_cb->nd_if; in fill_socketinfo()