Searched refs:ifp (Results 51 - 75 of 582) sorted by relevance

1234567891011>>

/freebsd-10.0-release/sys/netpfil/pf/
H A Dif_pflog.c111 struct ifnet *ifp; local
116 ifp = if_alloc(IFT_PFLOG);
117 if (ifp == NULL) {
120 if_initname(ifp, pflogname, unit);
121 ifp->if_mtu = PFLOGMTU;
122 ifp->if_ioctl = pflogioctl;
123 ifp->if_output = pflogoutput;
124 ifp->if_start = pflogstart;
125 ifp->if_snd.ifq_maxlen = ifqmaxlen;
126 ifp
137 pflog_clone_destroy(struct ifnet *ifp) argument
154 pflogstart(struct ifnet *ifp) argument
172 pflogoutput(struct ifnet *ifp, struct mbuf *m, const struct sockaddr *dst, struct route *rt) argument
181 pflogioctl(struct ifnet *ifp, u_long cmd, caddr_t data) argument
[all...]
/freebsd-10.0-release/sys/dev/hyperv/netvsc/
H A Dhv_netvsc_drv_freebsd.c164 static int hn_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data);
165 static int hn_start_locked(struct ifnet *ifp);
166 static void hn_start(struct ifnet *ifp);
237 struct ifnet *ifp; local
255 ifp = sc->hn_ifp = sc->arpcom.ac_ifp = if_alloc(IFT_ETHER);
256 ifp->if_softc = sc;
258 if_initname(ifp, device_get_name(dev), device_get_unit(dev));
259 ifp->if_dunit = unit;
260 ifp->if_dname = NETVSC_DEVNAME;
262 ifp
357 hn_start_locked(struct ifnet *ifp) argument
624 struct ifnet *ifp; local
725 hn_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data) argument
891 struct ifnet *ifp; local
909 hn_start(struct ifnet *ifp) argument
929 struct ifnet *ifp; local
979 hn_watchdog(struct ifnet *ifp) argument
[all...]
/freebsd-10.0-release/sys/dev/cxgbe/
H A Dt4_tracer.c71 * ifp->if_softc and sc->ifp. These can be modified only with the global
138 struct ifnet *ifp; local
158 if (sc->ifp != NULL) {
173 ifp = if_alloc(IFT_ETHER);
174 if (ifp == NULL) {
181 strlcpy(ifp->if_xname, name, sizeof(ifp->if_xname));
182 ifp->if_dname = t4_cloner_name;
183 ifp
208 t4_cloner_destroy(struct if_clone *ifc, struct ifnet *ifp) argument
410 struct ifnet *ifp; local
432 struct ifnet *ifp; local
459 tracer_ioctl(struct ifnet *ifp, unsigned long cmd, caddr_t data) argument
490 tracer_transmit(struct ifnet *ifp, struct mbuf *m) argument
498 tracer_qflush(struct ifnet *ifp) argument
505 tracer_media_change(struct ifnet *ifp) argument
512 tracer_media_status(struct ifnet *ifp, struct ifmediareq *ifmr) argument
[all...]
/freebsd-10.0-release/sys/net/
H A Dif_debug.c53 if_show_ifnet(struct ifnet *ifp) argument
56 if (ifp == NULL)
58 db_printf("%s:\n", ifp->if_xname);
59 #define IF_DB_PRINTF(f, e) db_printf(" %s = " f "\n", #e, ifp->e);
107 struct ifnet *ifp; local
116 ifp = V_ifindex_table[idx].ife_ifnet;
117 if (ifp == NULL)
119 db_printf( "%20s ifp=%p\n", ifp->if_xname, ifp);
[all...]
H A Dif_var.h45 * (*ifp->if_output)(ifp, m, dst, rt)
254 #define if_name(ifp) ((ifp)->if_xname)
273 void if_addr_rlock(struct ifnet *ifp); /* if_addrhead */
274 void if_addr_runlock(struct ifnet *ifp); /* if_addrhead */
275 void if_maddr_rlock(struct ifnet *ifp); /* if_multiaddrs */
276 void if_maddr_runlock(struct ifnet *ifp); /* if_multiaddrs */
279 * Output queues (ifp->if_snd) and slow device input queues (*ifp
600 if_initbaudrate(struct ifnet *ifp, uintmax_t baud) argument
612 drbr_enqueue(struct ifnet *ifp, struct buf_ring *br, struct mbuf *m) argument
630 drbr_putback(struct ifnet *ifp, struct buf_ring *br, struct mbuf *new) argument
650 drbr_peek(struct ifnet *ifp, struct buf_ring *br) argument
669 drbr_flush(struct ifnet *ifp, struct buf_ring *br) argument
690 drbr_dequeue(struct ifnet *ifp, struct buf_ring *br) argument
704 drbr_advance(struct ifnet *ifp, struct buf_ring *br) argument
716 drbr_dequeue_cond(struct ifnet *ifp, struct buf_ring *br, int (*func) (struct mbuf *, void *), void *arg) argument
741 drbr_empty(struct ifnet *ifp, struct buf_ring *br) argument
751 drbr_needs_enqueue(struct ifnet *ifp, struct buf_ring *br) argument
761 drbr_inuse(struct ifnet *ifp, struct buf_ring *br) argument
[all...]
H A Dif_ef.c104 extern int (*ef_outputp)(struct ifnet *ifp, struct mbuf **mp,
116 static int ef_output(struct ifnet *ifp, struct mbuf **mp,
128 struct ifnet *ifp = sc->ef_ifp; local
130 ifp->if_start = ef_start;
131 ifp->if_init = ef_init;
132 ifp->if_snd.ifq_maxlen = ifqmaxlen;
133 ifp->if_flags = (IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST);
137 ether_ifattach(ifp, IF_LLADDR(sc->ef_pifp));
139 ifp->if_resolvemulti = 0;
140 ifp
153 struct ifnet *ifp = sc->ef_ifp; local
167 ef_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data) argument
199 ef_start(struct ifnet *ifp) argument
303 ef_input(struct ifnet *ifp, struct ether_header *eh, struct mbuf *m) argument
389 ef_output(struct ifnet *ifp, struct mbuf **mp, const struct sockaddr *dst, short *tp, int *hlen) argument
452 struct ifnet *ifp = efl->el_ifp; local
480 struct ifnet *ifp; local
[all...]
H A Dif_fwsubr.c78 firewire_output(struct ifnet *ifp, struct mbuf *m, const struct sockaddr *dst, argument
81 struct fw_com *fc = IFP2FWC(ifp);
96 error = mac_ifnet_check_transmit(ifp, m);
101 if (!((ifp->if_flags & IFF_UP) &&
102 (ifp->if_drv_flags & IFF_DRV_RUNNING))) {
142 error = arpresolve(ifp, ro ? ro->ro_rt : NULL, m, dst, (u_char *) destfw, &lle);
181 if_printf(ifp, "can't handle af%d\n", dst->sa_family);
189 if (bpf_peers_present(ifp->if_bpf)) {
197 bpf_mtap2(ifp->if_bpf, &h, sizeof(h), m);
247 error = (ifp
492 firewire_input(struct ifnet *ifp, struct mbuf *m, uint16_t src) argument
635 firewire_ioctl(struct ifnet *ifp, u_long command, caddr_t data) argument
686 firewire_resolvemulti(struct ifnet *ifp, struct sockaddr **llsa, struct sockaddr *sa) argument
741 firewire_ifattach(struct ifnet *ifp, struct fw_hwaddr *llc) argument
781 firewire_ifdetach(struct ifnet *ifp) argument
788 firewire_busreset(struct ifnet *ifp) argument
809 firewire_alloc(u_char type, struct ifnet *ifp) argument
[all...]
H A Dif_enc.c90 static int enc_output(struct ifnet *ifp, struct mbuf *m,
124 enc_clone_destroy(struct ifnet *ifp) argument
126 KASSERT(ifp != encif, ("%s: destroying encif", __func__));
128 bpfdetach(ifp);
129 if_detach(ifp);
130 if_free(ifp);
136 struct ifnet *ifp; local
140 ifp = sc->sc_ifp = if_alloc(IFT_ENC);
141 if (ifp == NULL) {
146 if_initname(ifp, encnam
191 enc_output(struct ifnet *ifp, struct mbuf *m, const struct sockaddr *dst, struct route *ro) argument
203 enc_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data) argument
[all...]
H A Dif_spppfr.c154 #define SPP_ARGS(ifp) (ifp)->if_name, (ifp)->if_unit
157 #define SPP_ARGS(ifp) (ifp)->if_xname
162 struct ifnet *ifp = SP2IFP(sp); \
163 int debug = ifp->if_flags & IFF_DEBUG
192 SPP_ARGS(ifp), dlci);
205 SPP_ARGS(ifp), h[2]);
212 SPP_ARGS(ifp),
[all...]
/freebsd-10.0-release/sys/netgraph/
H A Dng_gif.c92 #define IFP2NG(ifp) ((struct ng_node *)((struct gif_softc *)(ifp->if_softc))->gif_netgraph)
93 #define IFP2NG_SET(ifp, val) (((struct gif_softc *)(ifp->if_softc))->gif_netgraph = (val))
97 struct ifnet *ifp; /* associated interface */ member in struct:private
104 static void ng_gif_input(struct ifnet *ifp, struct mbuf **mp, int af);
105 static void ng_gif_input_orphan(struct ifnet *ifp, struct mbuf *m, int af);
106 static void ng_gif_attach(struct ifnet *ifp);
107 static void ng_gif_detach(struct ifnet *ifp);
168 ng_gif_input(struct ifnet *ifp, struc argument
184 ng_gif_input_orphan(struct ifnet *ifp, struct mbuf *m, int af) argument
223 ng_gif_attach(struct ifnet *ifp) argument
260 ng_gif_detach(struct ifnet *ifp) argument
538 struct ifnet *ifp; local
[all...]
H A Dng_sppp.c54 struct ifnet *ifp; /* Our interface */ member in struct:ng_sppp_private
62 static void ng_sppp_start (struct ifnet *ifp);
63 static int ng_sppp_ioctl (struct ifnet *ifp, u_long cmd, caddr_t data);
177 ng_sppp_ioctl (struct ifnet *ifp, u_long command, caddr_t data) argument
181 error = sppp_ioctl (ifp, command, data);
193 ng_sppp_start (struct ifnet *ifp) argument
197 priv_p priv = ifp->if_softc;
205 /* if (!((ifp->if_flags & IFF_UP) && */
206 /* (ifp->if_drv_flags & IFF_DRV_RUNNING))) { */
210 if (ifp
243 struct ifnet *ifp; local
[all...]
/freebsd-10.0-release/sys/dev/firewire/
H A Dif_fwe.c109 fwe_poll(struct ifnet *ifp, enum poll_cmd cmd, int count) argument
114 if (!(ifp->if_drv_flags & IFF_DRV_RUNNING))
117 fwe = ((struct fwe_eth_softc *)ifp->if_softc)->fwe;
148 struct ifnet *ifp; local
182 eaddr = &IFP2ENADDR(fwe->eth_softc.ifp)[0];
198 ifp = fwe->eth_softc.ifp = if_alloc(IFT_ETHER);
199 if (ifp == NULL) {
203 ifp->if_softc = &fwe->eth_softc;
206 if_initname(ifp, device_get_nam
245 struct ifnet *ifp = fwe->eth_softc.ifp; local
287 struct ifnet *ifp; local
317 struct ifnet *ifp = fwe->eth_softc.ifp; local
401 fwe_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data) argument
497 struct ifnet *ifp; local
522 fwe_start(struct ifnet *ifp) argument
570 fwe_as_output(struct fwe_softc *fwe, struct ifnet *ifp) argument
639 struct ifnet *ifp; local
[all...]
H A Dif_fwip.c116 fwip_poll(struct ifnet *ifp, enum poll_cmd cmd, int count) argument
121 if (!(ifp->if_drv_flags & IFF_DRV_RUNNING))
124 fwip = ((struct fwip_eth_softc *)ifp->if_softc)->fwip;
155 struct ifnet *ifp; local
161 ifp = fwip->fw_softc.fwip_ifp = if_alloc(IFT_IEEE1394);
162 if (ifp == NULL)
191 ifp->if_softc = &fwip->fw_softc;
194 if_initname(ifp, device_get_name(dev), unit);
196 ifp->if_unit = unit;
197 ifp
221 struct ifnet *ifp = fwip->fw_softc.fwip_ifp; local
270 struct ifnet *ifp; local
297 struct ifnet *ifp = fwip->fw_softc.fwip_ifp; local
399 fwip_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data) argument
512 struct ifnet *ifp; local
538 fwip_start(struct ifnet *ifp) argument
582 fwip_async_output(struct fwip_softc *fwip, struct ifnet *ifp) argument
762 struct ifnet *ifp; local
888 struct ifnet *ifp; local
[all...]
/freebsd-10.0-release/sys/dev/sn/
H A Dif_sn.c121 static int snioctl(struct ifnet * ifp, u_long, caddr_t);
136 static int sn_getmcf(struct ifnet *ifp, u_char *mcf);
160 struct ifnet *ifp; local
168 ifp = sc->ifp = if_alloc(IFT_ETHER);
169 if (ifp == NULL) {
202 ifp->if_softc = sc;
203 if_initname(ifp, device_get_name(dev), device_get_unit(dev));
204 ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
205 ifp
234 struct ifnet *ifp = sc->ifp; local
263 struct ifnet *ifp = sc->ifp; local
356 snstart(struct ifnet *ifp) argument
366 snstart_locked(struct ifnet *ifp) argument
585 snresume(struct ifnet *ifp) argument
787 struct ifnet *ifp = sc->ifp; local
996 snread(struct ifnet *ifp) argument
1137 snioctl(struct ifnet *ifp, u_long cmd, caddr_t data) argument
1192 struct ifnet *ifp = sc->ifp; local
1374 struct ifnet *ifp = sc->ifp; local
1412 sn_getmcf(struct ifnet *ifp, uint8_t *mcf) argument
[all...]
/freebsd-10.0-release/sys/dev/le/
H A Dlance.c113 struct ifnet *ifp; local
119 ifp = sc->sc_ifp = if_alloc(IFT_ETHER);
120 if (ifp == NULL)
126 ifp->if_softc = sc;
127 if_initname(ifp, name, unit);
128 ifp->if_start = lance_start;
129 ifp->if_ioctl = lance_ioctl;
130 ifp->if_init = lance_init;
131 ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
133 ifp
199 struct ifnet *ifp = sc->sc_ifp; local
213 struct ifnet *ifp = sc->sc_ifp; local
243 lance_start(struct ifnet *ifp) argument
255 struct ifnet *ifp = sc->sc_ifp; local
286 struct ifnet *ifp = sc->sc_ifp; local
385 struct ifnet *ifp = sc->sc_ifp; local
445 struct ifnet *ifp = sc->sc_ifp; local
460 lance_mediachange(struct ifnet *ifp) argument
483 lance_mediastatus(struct ifnet *ifp, struct ifmediareq *ifmr) argument
506 lance_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data) argument
590 struct ifnet *ifp = sc->sc_ifp; local
[all...]
H A Dam7990.c155 struct ifnet *ifp = sc->sc_ifp; local
164 if (ifp->if_flags & IFF_PROMISC)
219 struct ifnet *ifp = sc->sc_ifp; local
247 if_printf(ifp,
250 if_printf(ifp,
255 if_printf(ifp, "overflow\n");
258 if_printf(ifp,
262 if_printf(ifp, "dropping chained buffer\n");
282 ifp->if_ipackets++;
303 (*ifp
315 struct ifnet *ifp = sc->sc_ifp; local
398 struct ifnet *ifp = sc->sc_ifp; local
502 struct ifnet *ifp = sc->sc_ifp; local
584 struct ifnet *ifp = sc->sc_ifp; local
607 struct ifnet *ifp = sc->sc_ifp; local
[all...]
H A Dam79900.c193 struct ifnet *ifp = sc->sc_ifp; local
202 if (ifp->if_flags & IFF_PROMISC)
259 struct ifnet *ifp = sc->sc_ifp; local
287 if_printf(ifp,
290 if_printf(ifp,
295 if_printf(ifp, "overflow\n");
298 if_printf(ifp,
302 if_printf(ifp, "dropping chained buffer\n");
323 ifp->if_ipackets++;
340 (*ifp
352 struct ifnet *ifp = sc->sc_ifp; local
436 struct ifnet *ifp = sc->sc_ifp; local
540 struct ifnet *ifp = sc->sc_ifp; local
623 struct ifnet *ifp = sc->sc_ifp; local
645 struct ifnet *ifp = sc->sc_ifp; local
[all...]
/freebsd-10.0-release/sys/netinet6/
H A Dnd6.c168 nd6_ifattach(struct ifnet *ifp) argument
187 if ((V_ip6_auto_linklocal && ifp->if_type != IFT_BRIDGE) ||
188 (ifp->if_flags & IFF_LOOPBACK))
198 !(ifp->if_flags & IFF_LOOPBACK) &&
199 (ifp->if_type != IFT_BRIDGE))
201 if (V_ip6_no_radr && !(ifp->if_flags & IFF_LOOPBACK))
204 /* XXX: we cannot call nd6_setmtu since ifp is not fully initialized */
205 nd6_setmtu0(ifp, nd);
222 nd6_setmtu(struct ifnet *ifp) argument
225 nd6_setmtu0(ifp, ND_IFINF
230 nd6_setmtu0(struct ifnet *ifp, struct nd_ifinfo *ndi) argument
464 struct ifnet *ifp; local
700 struct ifnet *ifp; local
769 nd6_purge(struct ifnet *ifp) argument
842 nd6_lookup(struct in6_addr *addr6, int flags, struct ifnet *ifp) argument
874 nd6_is_new_addr_neighbor(struct sockaddr_in6 *addr, struct ifnet *ifp) argument
975 nd6_is_addr_neighbor(struct sockaddr_in6 *addr, struct ifnet *ifp) argument
1008 struct ifnet *ifp; local
1143 struct ifnet *ifp; local
1188 struct ifnet *ifp; local
1222 nd6_ioctl(u_long cmd, caddr_t data, struct ifnet *ifp) argument
1543 nd6_cache_lladdr(struct ifnet *ifp, struct in6_addr *from, char *lladdr, int lladdrlen, int type, int code) argument
1809 struct ifnet *ifp; local
1835 nd6_output(struct ifnet *ifp, struct ifnet *origifp, struct mbuf *m0, struct sockaddr_in6 *dst, struct rtentry *rt0) argument
1854 nd6_output_lle(struct ifnet *ifp, struct ifnet *origifp, struct mbuf *m0, struct sockaddr_in6 *dst, struct rtentry *rt0, struct llentry *lle, struct mbuf **chain) argument
2117 nd6_output_flush(struct ifnet *ifp, struct ifnet *origifp, struct mbuf *chain, struct sockaddr_in6 *dst, struct route *ro) argument
2147 nd6_need_cache(struct ifnet *ifp) argument
2184 nd6_storelladdr(struct ifnet *ifp, struct mbuf *m, const struct sockaddr *dst, u_char *desten, struct llentry **lle) argument
[all...]
/freebsd-10.0-release/sys/dev/iicbus/
H A Dif_ic.c163 struct ifnet *ifp; local
165 ifp = sc->ic_ifp = if_alloc(IFT_PARA);
166 if (ifp == NULL)
174 ifp->if_softc = sc;
175 if_initname(ifp, device_get_name(dev), device_get_unit(dev));
176 ifp->if_flags = IFF_SIMPLEX | IFF_POINTOPOINT | IFF_MULTICAST;
177 ifp->if_ioctl = icioctl;
178 ifp->if_output = icoutput;
179 ifp->if_hdrlen = 0;
180 ifp
196 icioctl(struct ifnet *ifp, u_long cmd, caddr_t data) argument
353 icoutput(struct ifnet *ifp, struct mbuf *m, const struct sockaddr *dst, struct route *ro) argument
[all...]
/freebsd-10.0-release/sys/dev/ex/
H A Dif_ex.c199 if (sc->ifp)
200 if_free(sc->ifp);
209 struct ifnet * ifp; local
214 ifp = sc->ifp = if_alloc(IFT_ETHER);
215 if (ifp == NULL) {
233 ifp->if_softc = sc;
234 if_initname(ifp, device_get_name(dev), device_get_unit(dev));
235 ifp->if_flags = IFF_SIMPLEX | IFF_BROADCAST | IFF_MULTICAST;
236 ifp
283 struct ifnet *ifp; local
314 struct ifnet * ifp = sc->ifp; local
405 ex_start(struct ifnet *ifp) argument
415 ex_start_locked(struct ifnet *ifp) argument
621 struct ifnet *ifp = sc->ifp; local
662 struct ifnet * ifp = sc->ifp; local
709 struct ifnet * ifp = sc->ifp; local
815 ex_ioctl(register struct ifnet *ifp, u_long cmd, caddr_t data) argument
863 struct ifnet *ifp; local
976 struct ifnet *ifp = sc->ifp; local
[all...]
/freebsd-10.0-release/sys/dev/usb/net/
H A Dusb_ethernet.c196 struct ifnet *ifp; local
210 ifp = if_alloc(IFT_ETHER);
211 if (ifp == NULL) {
216 ifp->if_softc = ue;
217 if_initname(ifp, "ue", ue->ue_unit);
219 ue->ue_ifp = ifp;
222 ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
224 ifp->if_ioctl = ue->ue_methods->ue_ioctl;
226 ifp->if_ioctl = uether_ioctl;
227 ifp
281 struct ifnet *ifp; local
354 struct ifnet *ifp = ue->ue_ifp; local
382 uether_start(struct ifnet *ifp) argument
389 ue_start(struct ifnet *ifp) argument
422 uether_ifmedia_upd(struct ifnet *ifp) argument
429 ue_ifmedia_upd(struct ifnet *ifp) argument
449 struct ifnet *ifp = ue->ue_ifp; local
458 struct ifnet *ifp = ue->ue_ifp; local
476 struct ifnet *ifp = ue->ue_ifp; local
485 uether_ioctl(struct ifnet *ifp, u_long command, caddr_t data) argument
573 struct ifnet *ifp = ue->ue_ifp; local
591 struct ifnet *ifp = ue->ue_ifp; local
620 struct ifnet *ifp = ue->ue_ifp; local
[all...]
/freebsd-10.0-release/sys/dev/vx/
H A Dif_vx.c146 struct ifnet *ifp; local
150 ifp = sc->vx_ifp = if_alloc(IFT_ETHER);
151 if (ifp == NULL) {
155 if_initname(ifp, device_get_name(dev), device_get_unit(dev));
176 if_free(ifp);
183 if_free(ifp);
191 ifp->if_snd.ifq_maxlen = ifqmaxlen;
192 ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
193 ifp->if_start = vx_start;
194 ifp
226 struct ifnet *ifp = sc->vx_ifp; local
280 struct ifnet *ifp = sc->vx_ifp; local
324 struct ifnet *ifp = sc->vx_ifp; local
423 vx_start(struct ifnet *ifp) argument
433 vx_start_locked(struct ifnet *ifp) argument
557 struct ifnet *ifp; local
598 struct ifnet *ifp; local
641 struct ifnet *ifp = sc->vx_ifp; local
689 struct ifnet *ifp = sc->vx_ifp; local
806 struct ifnet *ifp = sc->vx_ifp; local
893 vx_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data) argument
976 struct ifnet *ifp; local
[all...]
/freebsd-10.0-release/sys/netinet/
H A Dif_ether.c148 arp_ifscrub(struct ifnet *ifp, uint32_t addr) argument
156 IF_AFDATA_LOCK(ifp);
157 lla_lookup(LLTABLE(ifp), (LLE_DELETE | LLE_IFADDR),
159 IF_AFDATA_UNLOCK(ifp);
170 struct ifnet *ifp; local
177 ifp = lle->lle_tbl->llt_ifp;
178 CURVNET_SET(ifp->if_vnet);
194 IF_AFDATA_LOCK(ifp);
207 IF_AFDATA_UNLOCK(ifp);
221 arprequest(struct ifnet *ifp, cons argument
304 arpresolve(struct ifnet *ifp, struct rtentry *rt0, struct mbuf *m, const struct sockaddr *dst, u_char *desten, struct llentry **lle) argument
541 struct ifnet *ifp = m->m_pkthdr.rcvif; local
905 arp_ifinit(struct ifnet *ifp, struct ifaddr *ifa) argument
934 arp_ifinit2(struct ifnet *ifp, struct ifaddr *ifa, u_char *enaddr) argument
[all...]
/freebsd-10.0-release/sys/netipx/
H A Dipx.c90 static void ipx_ifscrub(struct ifnet *ifp, struct ipx_ifaddr *ia);
91 static int ipx_ifinit(struct ifnet *ifp, struct ipx_ifaddr *ia,
98 ipx_control(struct socket *so, u_long cmd, caddr_t data, struct ifnet *ifp, argument
111 if (ifp == NULL)
116 if (ia->ia_ifp == ifp)
138 if ((ifp->if_flags & IFF_BROADCAST) == 0) {
150 if ((ifp->if_flags & IFF_POINTOPOINT) == 0) {
171 if (ia->ia_ifp == ifp &&
200 ia->ia_ifp = ifp;
204 if (ifp
308 ipx_ifscrub(struct ifnet *ifp, struct ipx_ifaddr *ia) argument
324 ipx_ifinit(struct ifnet *ifp, struct ipx_ifaddr *ia, struct sockaddr_ipx *sipx, int scrub) argument
380 struct ifnet *ifp; local
[all...]
/freebsd-10.0-release/sys/security/mac_ifoff/
H A Dmac_ifoff.c87 ifnet_check_outgoing(struct ifnet *ifp) argument
93 if (ifoff_lo_enabled && ifp->if_type == IFT_LOOP)
96 if (ifoff_other_enabled && ifp->if_type != IFT_LOOP)
103 ifnet_check_incoming(struct ifnet *ifp, int viabpf) argument
108 if (ifoff_lo_enabled && ifp->if_type == IFT_LOOP)
111 if (ifoff_other_enabled && ifp->if_type != IFT_LOOP)
126 struct ifnet *ifp, struct label *ifplabel)
129 return (ifnet_check_incoming(ifp, 1));
133 ifoff_ifnet_check_transmit(struct ifnet *ifp, struct label *ifplabel, argument
137 return (ifnet_check_outgoing(ifp));
125 ifoff_bpfdesc_check_receive(struct bpf_d *d, struct label *dlabel, struct ifnet *ifp, struct label *ifplabel) argument
[all...]

Completed in 153 milliseconds

1234567891011>>