Searched refs:ndrv_cb (Results 1 - 4 of 4) sorted by relevance

/macosx-10.10/xnu-2782.1.97/bsd/net/
H A Dndrv_var.h55 struct ndrv_cb struct
57 TAILQ_ENTRY(ndrv_cb) nd_next;
73 #define sotondrvcb(so) ((struct ndrv_cb *)(so)->so_pcb)
H A Dndrv.c87 static int ndrv_do_detach(struct ndrv_cb *);
88 static int ndrv_do_disconnect(struct ndrv_cb *);
89 static struct ndrv_cb *ndrv_find_inbound(struct ifnet *ifp, u_int32_t protocol_family);
90 static int ndrv_setspec(struct ndrv_cb *np, struct sockopt *sopt);
91 static int ndrv_delspec(struct ndrv_cb *);
94 static int ndrv_do_add_multicast(struct ndrv_cb *np, struct sockopt *sopt);
95 static int ndrv_do_remove_multicast(struct ndrv_cb *np, struct sockopt *sopt);
96 static struct ndrv_multiaddr* ndrv_have_multicast(struct ndrv_cb *np, struct sockaddr* addr);
97 static void ndrv_remove_all_multicast(struct ndrv_cb *np);
102 TAILQ_HEAD(, ndrv_cb) ndrv
[all...]
/macosx-10.10/lsof-53/lsof/dialects/darwin/kmem/
H A Ddsock.c88 struct ndrv_cb ndrv_cb; local
315 || kread((KA_T)s.so_pcb, (char *)&ndrv_cb, sizeof(ndrv_cb))) {
316 (void) snpf(Namech, Namechl, "can't read ndrv_cb at %s",
328 if (!ndrv_cb.nd_if
329 || kread((KA_T)ndrv_cb.nd_if, (char *)&ifnet, sizeof(ifnet))) {
331 print_kptr((KA_T)ndrv_cb.nd_if, (char *)NULL, 0));
/macosx-10.10/xnu-2782.1.97/bsd/kern/
H A Dsocket_info.c197 struct ndrv_cb *ndrv_cb = (struct ndrv_cb *)so->so_pcb; local
203 if (ndrv_cb->nd_if != 0) {
204 struct ifnet *ifp = ndrv_cb->nd_if;

Completed in 164 milliseconds