HomeSort by: relevance | last modified time | path
    Searched defs:ifp (Results 1 - 25 of 395) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/sys/compat/common/
uipc_syscalls_50.c 64 struct ifnet *ifp; local in function:compat_ifdatareq
76 ifp = ifunit(ifdr->ifdr_name);
77 if (ifp == NULL)
83 if_export_if_data(ifp, &ifi, false);
91 KAUTH_REQ_NETWORK_INTERFACE_SETPRIV, ifp,
96 if_export_if_data(ifp, &ifi, true);
rtsock_70.c 55 struct ifnet *ifp; local in function:compat_70_rt_newaddrmsg1
60 ifp = ifa->ifa_ifp;
78 KASSERT(ifp->if_dl != NULL);
79 info.rti_info[RTAX_IFP] = ifp->if_dl->ifa_addr;
84 ifam.ifam_index = ifp->if_index;
uipc_syscalls_40.c 40 struct ifnet *ifp; local in function:compat_ifconf
68 IFNET_READER_FOREACH(ifp) {
71 if_acquire(ifp, &psref);
74 (void)strncpy(ifr.ifr_name, ifp->if_xname,
80 if (IFADDR_READER_EMPTY(ifp)) {
93 IFADDR_READER_FOREACH(ifa, ifp) {
153 if_release(ifp, &psref);
165 if_release(ifp, &psref);
if_43.c 231 struct ifnet *ifp; local in function:compat_ifioctl
236 ifp = if_get(ifr->ifr_name, &psref);
237 if (ifp == NULL) {
283 error = (*so->so_proto->pr_usrreqs->pr_ioctl)(so, cmd, ifr, ifp);
284 if_put(ifp, &psref);
  /src/sys/nfs/
nfs_bootstatic.c 68 struct ifnet *ifp = nd->nd_ifp; local in function:nfs_bootstatic
165 error = nfs_boot_setaddress(ifp, lwp,
  /src/sys/ufs/lfs/
lfs_itimes.c 78 IFILE *ifp; local in function:lfs_itimes
80 LFS_IENTRY(ifp, fs, ip->i_number, ibp);
81 lfs_if_setatime_sec(fs, ifp, acc->tv_sec);
82 lfs_if_setatime_nsec(fs, ifp, acc->tv_nsec);
  /src/sbin/fsck_lfs/
pass0.c 102 IFILE *ifp; local in function:pass0
132 LFS_IENTRY(ifp, fs, plastino, bp);
133 lfs_if_setnextfree(fs, ifp, 0);
139 LFS_IENTRY(ifp, fs, ino, bp);
140 nextino = lfs_if_getnextfree(fs, ifp);
141 daddr = lfs_if_getdaddr(fs, ifp);
151 LFS_IENTRY(ifp, fs, plastino, bp);
152 lfs_if_setnextfree(fs, ifp, nextino);
171 LFS_IENTRY(ifp, fs, ino, bp);
172 if (lfs_if_getdaddr(fs, ifp)) {
    [all...]
  /src/sys/net/npf/
if_npflog.c 92 npflog_ioctl(ifnet_t *ifp, u_long cmd, void *data)
94 npflog_softc_t *sc = ifp->if_softc;
100 ifp->if_flags |= (IFF_UP | IFF_RUNNING);
103 error = ifioctl_common(ifp, cmd, data);
114 ifnet_t *ifp; local in function:npflog_clone_create
119 ifp = &sc->sc_if;
120 ifp->if_softc = sc;
122 if_initname(ifp, "npflog", unit);
123 ifp->if_type = IFT_OTHER;
124 ifp->if_dlt = DLT_NULL
    [all...]
npf_ext_log.c 88 ifnet_t *ifp; local in function:npf_log
135 ifp = if_get_byindex(log->if_idx, &psref);
136 if (ifp == NULL) {
142 if_statadd2(ifp, if_opackets, 1, if_obytes, m->m_pkthdr.len);
143 if (ifp->if_bpf) {
145 bpf_mtap2(ifp->if_bpf, &hdr, NPFLOG_HDRLEN, m, BPF_D_OUT);
147 if_put(ifp, &psref);
  /src/sys/netcan/
if_canloop.c 108 struct ifnet *ifp; local in function:canloop_clone_create
110 ifp = if_alloc(IFT_OTHER);
112 if_initname(ifp, ifc->ifc_name, unit);
114 ifp->if_flags = IFF_LOOPBACK;
116 ifp->if_extflags = IFEF_MPSAFE;
118 ifp->if_ioctl = canloop_ioctl;
119 ifp->if_start = canloop_ifstart;
120 can_ifattach(ifp);
122 ifp->if_mowner = malloc(sizeof(struct mowner), M_DEVBUF,
124 strlcpy(ifp->if_mowner->mo_name, ifp->if_xname
    [all...]
  /src/sys/netinet6/
nd6_rtr.c 59 struct ifnet *ifp; local in function:nd6_rtr_cache
70 ifp = m_get_rcvif_psref(m, &psref);
71 if (ifp == NULL)
78 IN6_PRINT(ip6bufd, &ip6->ip6_dst), if_name(ifp));
95 m_put_rcvif_psref(ifp, &psref);
113 m_put_rcvif_psref(ifp, &psref);
133 if (lladdr && ((ifp->if_addrlen + 2 + 7) & ~7) != lladdrlen) {
137 ifp->if_addrlen,
143 nd6_cache_lladdr(ifp, &saddr6, lladdr, lladdrlen, icmp6_type, 0);
146 m_put_rcvif_psref(ifp, &psref)
    [all...]
  /src/usr.sbin/npf/npftest/libnpftest/
npf_perf_test.c 31 ifnet_t *ifp = npf_test_getif(IFNAME_INT); local in function:worker
45 error = npfk_packet_handler(npf, &m, ifp, PFIL_OUT);
npfl2onlytest.c 54 ifnet_t *ifp = npf_test_getif(t->ifname); local in function:run_handler_testcase
60 error = npfk_layer2_handler(npf, &m, ifp, t->di);
  /src/sys/dev/pci/ixgbe/
if_fdir.c 60 struct ifnet *ifp = sc->ifp; local in function:ixgbe_reinit_fdir
73 ifp->if_drv_flags |= IFF_DRV_RUNNING;
  /src/sys/dev/ic/
rtl80x9.c 75 struct ifnet *ifp = &sc->sc_ec.ec_if; local in function:rtl80x9_mediastatus
77 ((ifp->if_flags & IFF_RUNNING) ? ED_CR_STA : ED_CR_STP);
107 struct ifnet *ifp = &sc->sc_ec.ec_if; local in function:rtl80x9_init_card
109 ((ifp->if_flags & IFF_RUNNING) ? ED_CR_STA : ED_CR_STP);
ax88190.c 99 struct ifnet *ifp = &sc->sc_ec.ec_if; local in function:ax88190_media_init
106 mii->mii_ifp = ifp;
200 ax88190_mii_statchg(struct ifnet *ifp)
  /src/sys/arch/powerpc/tools/chrpicon/ppmtochrpicon/
ppmtochrpicon.c 62 FILE *ifp; local in function:main
75 ifp = pm_openr(argv[1]);
77 ifp = stdin;
80 pixels = ppm_readppm(ifp, &img->width, &img->height, &maxval);
96 pm_close(ifp);
  /src/sys/dev/hpc/
fontconv.c 11 FILE *ifp; variable in typeref:typename:FILE *
21 ifp = stdin;
53 n = fread(buf, width_in_bytes, height, ifp);
55 if (!feof(ifp)) {
123 n = fread(buf, width_in_bytes, height, ifp);
125 if (!feof(ifp)) {
  /src/sys/dev/isa/
cs89x0isa.c 169 struct ifnet *ifp; local in function:cs_process_rx_dma
180 ifp = &sc->sc_ethercom.ec_if;
229 if_statinc(ifp, if_ierrors);
246 if_statinc(ifp, if_ierrors);
288 m_set_rcvif(m, ifp);
355 if_statinc(ifp, if_ierrors);
361 if ((ifp->if_flags & IFF_DEBUG) &&
  /src/sys/net/agr/
if_agrether.c 90 struct ifnet *ifp = &sc->sc_if; local in function:agrether_ctor
91 struct ethercom *ec = (void *)ifp;
104 ifp->if_capabilities = ifp_port->if_capabilities &
112 ether_ifattach(ifp, CLLADDR(ifp_port->if_sadl));
  /src/sys/arch/amd64/amd64/
db_machdep.c 113 struct intrframe *ifp; local in function:db_nextframe
183 ifp = (struct intrframe *)(argp + i);
184 err = db_get_value((long)&ifp->if_tf.tf_err,
186 trapno = db_get_value((long)&ifp->if_tf.tf_trapno,
190 *nextframe = (long *)ifp - 1;
  /src/sys/netatalk/
ddp_output.c 123 struct ifnet *ifp = NULL; local in function:ddp_route
128 if ((rt = rtcache_validate(ro)) != NULL && (ifp = rt->rt_ifp) != NULL) {
141 ifp = lo0ifp;
212 error = if_output_lock(ifp, ifp, m, (struct sockaddr *)&gate, NULL);
  /src/sys/arch/mac68k/nubus/
if_ae_nubus.c 127 struct ifnet *ifp = &sc->sc_ec.ec_if; local in function:ae_nubus_attach
366 ifp->if_watchdog = ae_nb_watchdog; /* Override watchdog */
492 ae_nb_watchdog(struct ifnet *ifp)
494 struct dp8390_softc *sc = ifp->if_softc;
504 if_statinc(ifp, if_oerrors);
  /src/sys/net/
if_vether.c 62 struct ifnet *ifp; local in function:vether_clone_create
75 ifp = &sc->sc_ec.ec_if;
76 if_initname(ifp, ifc->ifc_name, unit);
77 ifp->if_softc = sc;
78 ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
80 ifp->if_extflags = IFEF_MPSAFE;
82 ifp->if_ioctl = vether_ioctl;
83 ifp->if_start = vether_start;
84 ifp->if_stop = vether_stop;
85 ifp->if_init = vether_init
    [all...]
  /src/sys/arch/powerpc/tools/chrpicon/chrpicontoppm/
chrpicontoppm.c 64 FILE *ifp; local in function:main
81 if ((ifp = fopen(argv[1], "r")) == NULL) {
87 ifp = stdin;
89 if (CHRPI_getheader(ifp, img))
92 if (CHRPI_getbitmap(ifp, img))
129 pm_close(ifp);

Completed in 25 milliseconds

1 2 3 4 5 6 7 8 91011>>