Lines Matching refs:ifnet
150 static struct ifnet **ifneta = NULL;
154 static void fr_setifpaddr __P((struct ifnet *, char *));
157 static int no_output __P((struct ifnet *, struct mbuf *,
159 static int write_output __P((struct ifnet *, struct mbuf *,
163 static int no_output __P((struct ifnet *, struct mbuf *,
165 static int write_output __P((struct ifnet *, struct mbuf *,
168 static int no_output __P((struct ifnet *, struct mbuf *,
170 static int write_output __P((struct ifnet *, struct mbuf *,
496 fdp->fd_ifp = (struct ifnet *)-1;
512 struct ifnet *ifp;
531 struct ifnet *ifp;
562 struct ifnet *ifp; in fr_setifpaddr()
608 struct ifnet *get_unit(name, v, ifs) in get_unit()
613 struct ifnet *ifp, **ifpp, **old_ifneta;
654 ifneta = (struct ifnet **)malloc(sizeof(ifp) * 2);
658 ifneta[0] = (struct ifnet *)calloc(1, sizeof(*ifp));
667 ifneta = (struct ifnet **)realloc(ifneta,
675 ifneta[nifs - 1] = (struct ifnet *)malloc(sizeof(*ifp));
719 struct ifnet *ifp; in get_ifname()
736 struct ifnet *ifp, **ifpp; in init_ifp()
772 struct ifnet *ifp = fdp->fd_ifp;
995 struct ifnet *ifp = ifptr;