Searched refs:ifp (Results 1 - 25 of 571) sorted by relevance

1234567891011>>

/freebsd-head/sys/mips/cavium/octe/
H A Dethernet-common.h33 int cvm_oct_common_open(struct ifnet *ifp);
34 int cvm_oct_common_stop(struct ifnet *ifp);
35 void cvm_oct_common_poll(struct ifnet *ifp);
36 int cvm_oct_common_init(struct ifnet *ifp);
37 void cvm_oct_common_uninit(struct ifnet *ifp);
39 int cvm_oct_common_change_mtu(struct ifnet *ifp, int new_mtu);
40 void cvm_oct_common_set_multicast_list(struct ifnet *ifp);
41 void cvm_oct_common_set_mac_address(struct ifnet *ifp, const void *);
51 int cvm_oct_rgmii_init(struct ifnet *ifp);
52 void cvm_oct_rgmii_uninit(struct ifnet *ifp);
[all...]
H A Dethernet-tx.h33 int cvm_oct_xmit(struct mbuf *m, struct ifnet *ifp);
34 void cvm_oct_tx_shutdown(struct ifnet *ifp);
H A Dethernet-mv88e61xx.h34 int cvm_oct_mv88e61xx_setup_device(struct ifnet *ifp);
H A Dethernet-rx.h34 void cvm_oct_poll_controller(struct ifnet *ifp);
H A Dethernet-mdio.h39 int cvm_oct_mdio_read(struct ifnet *ifp, int phy_id, int location);
40 void cvm_oct_mdio_write(struct ifnet *ifp, int phy_id, int location, int val);
41 int cvm_oct_mdio_setup_device(struct ifnet *ifp);
H A Docte.c139 struct ifnet *ifp; local
146 ifp = priv->ifp;
148 if_initname(ifp, device_get_name(dev), device_get_unit(dev));
152 error = mii_attach(dev, &priv->miibus, ifp,
177 ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST | IFF_ALLMULTI;
178 ifp->if_init = octe_init;
179 ifp->if_ioctl = octe_ioctl;
181 priv->if_flags = ifp->if_flags;
183 mtx_init(&priv->tx_mtx, ifp
269 struct ifnet *ifp; local
298 struct ifnet *ifp; local
314 octe_transmit(struct ifnet *ifp, struct mbuf *m) argument
330 octe_mii_medchange(struct ifnet *ifp) argument
346 octe_mii_medstat(struct ifnet *ifp, struct ifmediareq *ifm) argument
360 octe_medchange(struct ifnet *ifp) argument
366 octe_medstat(struct ifnet *ifp, struct ifmediareq *ifm) argument
409 octe_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data) argument
[all...]
H A Dethernet-mv88e61xx.c70 cvm_oct_mv88e61xx_setup_device(struct ifnet *ifp) argument
72 cvm_oct_private_t *priv = (cvm_oct_private_t *)ifp->if_softc;
82 cvm_oct_mv88e61xx_smi_read(struct ifnet *ifp, int phy_id, int location) argument
84 cvm_oct_private_t *priv = (cvm_oct_private_t *)ifp->if_softc;
87 error = cvm_oct_mv88e61xx_smi_wait(ifp);
91 cvm_oct_mdio_write(ifp, priv->phy_id, MV88E61XX_SMI_REG_CMD,
96 error = cvm_oct_mv88e61xx_smi_wait(ifp);
100 return (cvm_oct_mdio_read(ifp, priv->phy_id, MV88E61XX_SMI_REG_DAT));
104 cvm_oct_mv88e61xx_smi_write(struct ifnet *ifp, int phy_id, int location, int val) argument
106 cvm_oct_private_t *priv = (cvm_oct_private_t *)ifp
118 cvm_oct_mv88e61xx_smi_wait(struct ifnet *ifp) argument
[all...]
H A Dcavium-ethernet.h49 * driver state stored in ifp->if_softc.
53 struct ifnet *ifp; member in struct:__anon646
63 void (*poll)(struct ifnet *ifp); /* Called periodically to check link status */
71 int (*open)(struct ifnet *ifp);
72 int (*stop)(struct ifnet *ifp);
74 int (*init)(struct ifnet *ifp);
75 void (*uninit)(struct ifnet *ifp);
/freebsd-head/contrib/ipfilter/lib/
H A Dprintifname.c15 printifname(format, name, ifp)
17 void *ifp;
20 if ((ifp == NULL) && strcmp(name, "-") && strcmp(name, "*"))
/freebsd-head/sys/net/
H A Dif_dead.c47 ifdead_output(struct ifnet *ifp, struct mbuf *m, const struct sockaddr *sa, argument
56 ifdead_input(struct ifnet *ifp, struct mbuf *m) argument
63 ifdead_start(struct ifnet *ifp) argument
69 ifdead_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data) argument
76 ifdead_resolvemulti(struct ifnet *ifp, struct sockaddr **llsa, argument
85 ifdead_qflush(struct ifnet *ifp) argument
91 ifdead_transmit(struct ifnet *ifp, struct mbuf *m) argument
99 ifdead_get_counter(struct ifnet *ifp, ift_counter cnt) argument
106 ifdead_snd_tag_alloc(struct ifnet *ifp, union if_snd_tag_alloc_params *params, argument
130 ifdead_ratelimit_query(struct ifnet *ifp __unuse
147 if_dead(struct ifnet *ifp) argument
[all...]
H A Dif_edsc.c84 /* static void edsc_input(struct ifnet *ifp, struct mbuf *m); would be here */
85 static int edsc_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data);
86 static void edsc_start(struct ifnet *ifp);
100 struct ifnet *ifp; local
107 ifp = sc->sc_ifp = if_alloc(IFT_ETHER);
108 if (ifp == NULL) {
113 ifp->if_softc = sc;
118 if_initname(ifp, edscname, unit);
124 ifp->if_flags = IFF_BROADCAST | IFF_MULTICAST | IFF_SIMPLEX;
132 ifp
175 edsc_clone_destroy(struct ifnet *ifp) argument
210 edsc_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data) argument
255 edsc_start(struct ifnet *ifp) argument
[all...]
H A Dif_mib.c82 struct ifnet *ifp; local
93 ifp = ifnet_byindex_ref(name[0]);
95 if (ifp == NULL)
105 strlcpy(ifmd.ifmd_name, ifp->if_xname, sizeof(ifmd.ifmd_name));
107 ifmd.ifmd_pcount = ifp->if_pcount;
108 if_data_copy(ifp, &ifmd.ifmd_data);
110 ifmd.ifmd_flags = ifp->if_flags | ifp->if_drv_flags;
111 ifmd.ifmd_snd_len = ifp->if_snd.ifq_len;
112 ifmd.ifmd_snd_maxlen = ifp
[all...]
H A Dif.c229 void (*ng_ether_link_state_p)(struct ifnet *ifp, int state);
230 void (*lagg_linkstate_p)(struct ifnet *ifp, int state);
232 void (*carp_linkstate_p)(struct ifnet *ifp);
236 int (*carp_forus_p)(struct ifnet *ifp, u_char *dhost);
237 int (*carp_output_p)(struct ifnet *ifp, struct mbuf *m,
247 struct ifaddr *(*carp_iamatch6_p)(struct ifnet *ifp, struct in6_addr *taddr6);
248 caddr_t (*carp_macmatch6_p)(struct ifnet *ifp, struct mbuf *m,
267 static int if_transmit(struct ifnet *ifp, struct mbuf *m);
342 struct ifnet *ifp; local
347 ifp
354 struct ifnet *ifp; local
416 ifnet_setbyindex(u_short idx, struct ifnet *ifp) argument
425 struct ifnet *ifp; local
478 struct ifnet *ifp, *nifp; local
527 struct ifnet *ifp; local
609 if_free_internal(struct ifnet *ifp) argument
640 struct ifnet *ifp; local
650 if_free(struct ifnet *ifp) argument
674 if_ref(struct ifnet *ifp) argument
682 if_rele(struct ifnet *ifp) argument
691 ifq_init(struct ifaltq *ifq, struct ifnet *ifp) argument
735 if_attach(struct ifnet *ifp) argument
745 if_hw_tsomax_common(if_t ifp, struct ifnet_hw_tsomax *pmax) argument
774 if_hw_tsomax_update(if_t ifp, struct ifnet_hw_tsomax *pmax) argument
793 if_attach_internal(struct ifnet *ifp, int vmove, struct if_clone *ifc) argument
947 struct ifnet *ifp; local
956 if_attachdomain1(struct ifnet *ifp) argument
987 if_purgeaddrs(struct ifnet *ifp) argument
1036 if_purgemaddrs(struct ifnet *ifp) argument
1059 if_detach(struct ifnet *ifp) argument
1078 if_detach_internal(struct ifnet *ifp, int vmove, struct if_clone **ifcp) argument
1266 if_vmove(struct ifnet *ifp, struct vnet *new_vnet) argument
1342 if_vmove_loan(struct thread *td, struct ifnet *ifp, char *ifname, int jid) argument
1399 struct ifnet *ifp; local
1454 if_addgroup(struct ifnet *ifp, const char *groupname) argument
1524 _if_delgroup_locked(struct ifnet *ifp, struct ifg_list *ifgl, const char *groupname) argument
1568 if_delgroup(struct ifnet *ifp, const char *groupname) argument
1590 if_delgroups(struct ifnet *ifp) argument
1635 if_getgroup(struct ifgroupreq *ifgr, struct ifnet *ifp) argument
1720 if_get_counter_default(struct ifnet *ifp, ift_counter cnt) argument
1733 if_inc_counter(struct ifnet *ifp, ift_counter cnt, int64_t inc) argument
1745 if_data_copy(struct ifnet *ifp, struct if_data *ifd) argument
1852 struct ifnet *ifp; local
1933 struct ifnet *ifp; local
1978 struct ifnet *ifp; local
2008 struct ifnet *ifp; local
2038 struct ifnet *ifp; local
2127 ifaof_ifpforaddr(const struct sockaddr *addr, struct ifnet *ifp) argument
2204 link_init_sdl(struct ifnet *ifp, struct sockaddr *paddr, u_char iftype) argument
2223 if_unroute(struct ifnet *ifp, int flag, int fam) argument
2246 if_route(struct ifnet *ifp, int flag, int fam) argument
2281 if_link_state_change(struct ifnet *ifp, int link_state) argument
2296 struct ifnet *ifp; local
2335 if_down(struct ifnet *ifp) argument
2347 if_up(struct ifnet *ifp) argument
2358 if_qflush(struct ifnet *ifp) argument
2388 struct ifnet *ifp; local
2406 struct ifnet *ifp; local
2490 ifhwioctl(u_long cmd, struct ifnet *ifp, caddr_t data, struct thread *td) argument
2958 struct ifnet *ifp; local
3118 if_setflag(struct ifnet *ifp, int flag, int pflag, int *refcount, int onswitch) argument
3189 ifpromisc(struct ifnet *ifp, int pswitch) argument
3215 struct ifnet *ifp; local
3316 if_allmulti(struct ifnet *ifp, int onswitch) argument
3323 if_findmulti(struct ifnet *ifp, const struct sockaddr *sa) argument
3350 if_allocmulti(struct ifnet *ifp, struct sockaddr *sa, struct sockaddr *llsa, int mflags) argument
3454 if_addmulti(struct ifnet *ifp, struct sockaddr *sa, struct ifmultiaddr **retifma) argument
3582 struct ifnet *ifp; local
3604 if_delmulti(struct ifnet *ifp, struct sockaddr *sa) argument
3633 if_delallmulti(struct ifnet *ifp) argument
3659 struct ifnet *ifp; local
3711 if_delmulti_locked(struct ifnet *ifp, struct ifmultiaddr *ifma, int detaching) argument
3798 if_setlladdr(struct ifnet *ifp, const u_char *lladdr, int len) argument
3861 if_requestencap_default(struct ifnet *ifp, struct if_encap_req *req) argument
3895 if_tunnel_check_nesting(struct ifnet *ifp, struct mbuf *m, uint32_t cookie, int limit) argument
3931 if_gethwaddr(struct ifnet *ifp, struct ifreq *ifr) argument
3954 if_initname(struct ifnet *ifp, const char *name, int unit) argument
3965 if_printf(struct ifnet *ifp, const char *fmt, ...) argument
3978 if_start(struct ifnet *ifp) argument
3989 if_transmit(struct ifnet *ifp, struct mbuf *m) argument
4005 if_handoff(struct ifqueue *ifq, struct mbuf *m, struct ifnet *ifp, int adjust) argument
4057 if_setbaudrate(struct ifnet *ifp, uint64_t baudrate) argument
4067 if_getbaudrate(if_t ifp) argument
4074 if_setcapabilities(if_t ifp, int capabilities) argument
4081 if_setcapabilitiesbit(if_t ifp, int setbit, int clearbit) argument
4090 if_getcapabilities(if_t ifp) argument
4096 if_setcapenable(if_t ifp, int capabilities) argument
4103 if_setcapenablebit(if_t ifp, int setcap, int clearcap) argument
4114 if_getdname(if_t ifp) argument
4120 if_togglecapenable(if_t ifp, int togglecap) argument
4127 if_getcapenable(if_t ifp) argument
4139 if_setdev(if_t ifp, void *dev) argument
4145 if_setdrvflagbits(if_t ifp, int set_flags, int clear_flags) argument
4154 if_getdrvflags(if_t ifp) argument
4160 if_setdrvflags(if_t ifp, int flags) argument
4168 if_setflags(if_t ifp, int flags) argument
4176 if_setflagbits(if_t ifp, int set, int clear) argument
4185 if_getflags(if_t ifp) argument
4191 if_clearhwassist(if_t ifp) argument
4198 if_sethwassistbits(if_t ifp, int toset, int toclear) argument
4207 if_sethwassist(if_t ifp, int hwassist_bit) argument
4214 if_gethwassist(if_t ifp) argument
4220 if_setmtu(if_t ifp, int mtu) argument
4227 if_getmtu(if_t ifp) argument
4233 if_getmtu_family(if_t ifp, int family) argument
4251 if_lladdr_count(if_t ifp) argument
4268 if_foreach_lladdr(if_t ifp, iflladdr_cb_t cb, void *cb_arg) argument
4290 if_llmaddr_count(if_t ifp) argument
4307 if_foreach_llmaddr(if_t ifp, iflladdr_cb_t cb, void *cb_arg) argument
4329 if_setsoftc(if_t ifp, void *softc) argument
4336 if_getsoftc(if_t ifp) argument
4342 if_setrcvif(struct mbuf *m, if_t ifp) argument
4363 if_sendq_empty(if_t ifp) argument
4369 if_getifaddr(if_t ifp) argument
4375 if_getamcount(if_t ifp) argument
4382 if_setsendqready(if_t ifp) argument
4389 if_setsendqlen(if_t ifp, int tx_desc_count) argument
4398 if_vlantrunkinuse(if_t ifp) argument
4404 if_input(if_t ifp, struct mbuf* sendmp) argument
4412 if_dequeue(if_t ifp) argument
4421 if_sendq_prepend(if_t ifp, struct mbuf *m) argument
4428 if_setifheaderlen(if_t ifp, int len) argument
4435 if_getlladdr(if_t ifp) argument
4449 struct ifnet *ifp = (struct ifnet *)ifh; local
4457 struct ifnet *ifp = (struct ifnet *)ifh; local
4465 struct ifnet *ifp = (struct ifnet *)ifh; local
4470 if_sethwtsomax(if_t ifp, u_int if_hw_tsomax) argument
4478 if_sethwtsomaxsegcount(if_t ifp, u_int if_hw_tsomaxsegcount) argument
4486 if_sethwtsomaxsegsize(if_t ifp, u_int if_hw_tsomaxsegsize) argument
4494 if_gethwtsomax(if_t ifp) argument
4501 if_gethwtsomaxsegcount(if_t ifp) argument
4508 if_gethwtsomaxsegsize(if_t ifp) argument
4515 if_setinitfn(if_t ifp, void (*init_fn)(void *)) argument
4521 if_setioctlfn(if_t ifp, int (*ioctl_fn)(if_t, u_long, caddr_t)) argument
4527 if_setstartfn(if_t ifp, void (*start_fn)(if_t)) argument
4533 if_settransmitfn(if_t ifp, if_transmit_fn_t start_fn) argument
4538 if_setqflushfn(if_t ifp, if_qflush_fn_t flush_fn) argument
4545 if_setgetcounterfn(if_t ifp, if_get_counter_t fn) argument
[all...]
H A Dif_disc.c85 struct ifnet *ifp; local
89 ifp = sc->sc_ifp = if_alloc(IFT_LOOP);
90 if (ifp == NULL) {
95 ifp->if_softc = sc;
96 if_initname(ifp, discname, unit);
97 ifp->if_mtu = DSMTU;
108 ifp->if_flags = IFF_LOOPBACK | IFF_MULTICAST;
109 ifp->if_drv_flags = IFF_DRV_RUNNING;
110 ifp->if_ioctl = discioctl;
111 ifp
122 disc_clone_destroy(struct ifnet *ifp) argument
177 discoutput(struct ifnet *ifp, struct mbuf *m, const struct sockaddr *dst, struct route *ro) argument
206 discioctl(struct ifnet *ifp, u_long cmd, caddr_t data) argument
[all...]
H A Dif_loop.c94 int looutput(struct ifnet *ifp, struct mbuf *m,
110 lo_clone_destroy(struct ifnet *ifp) argument
115 KASSERT(V_loif != ifp, ("%s: destroying lo0", __func__));
118 bpfdetach(ifp);
119 if_detach(ifp);
120 if_free(ifp);
126 struct ifnet *ifp; local
128 ifp = if_alloc(IFT_LOOP);
129 if (ifp == NULL)
132 if_initname(ifp, lonam
204 looutput(struct ifnet *ifp, struct mbuf *m, const struct sockaddr *dst, struct route *ro) argument
286 if_simloop(struct ifnet *ifp, struct mbuf *m, int af, int hlen) argument
374 loioctl(struct ifnet *ifp, u_long cmd, caddr_t data) argument
[all...]
H A Dif_epair.c42 * - ifp->if_reassign function once we can test with vimage. Depending on
142 struct ifnet *ifp; /* This ifp. */ member in struct:epair_softc
143 struct ifnet *oifp; /* other ifp of pair. */
158 struct ifnet *ifp; member in struct:epair_ifp_drain
243 cpuid_from_ifp(struct ifnet *ifp) argument
247 if (ifp == NULL)
249 sc = ifp->if_softc;
260 struct ifnet *ifp; local
263 ifp
287 struct ifnet *ifp; local
335 epair_remove_ifp_from_draining(struct ifnet *ifp) argument
366 epair_add_ifp_for_draining(struct ifnet *ifp) argument
395 epair_start_locked(struct ifnet *ifp) argument
466 epair_start(struct ifnet *ifp) argument
477 epair_transmit_locked(struct ifnet *ifp, struct mbuf *m) argument
596 epair_transmit(struct ifnet *ifp, struct mbuf *m) argument
609 epair_qflush(struct ifnet *ifp) argument
644 epair_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data) argument
719 struct ifnet *ifp; local
735 struct ifnet *ifp; local
920 epair_clone_destroy(struct if_clone *ifc, struct ifnet *ifp) argument
[all...]
/freebsd-head/sys/netpfil/ipfw/
H A Dip_fw_bpf.c63 ipfw_bpf_ioctl(struct ifnet *ifp, u_long cmd, caddr_t addr) argument
70 ipfw_bpf_output(struct ifnet *ifp, struct mbuf *m, argument
80 ipfw_clone_destroy(struct ifnet *ifp) argument
83 if (ifp->if_hdrlen == ETHER_HDR_LEN)
89 bpfdetach(ifp);
90 if_detach(ifp);
91 if_free(ifp);
97 struct ifnet *ifp; local
99 ifp = if_alloc(IFT_PFLOG);
100 if (ifp
123 struct ifnet *ifp; local
149 struct ifnet *ifp = V_log_if; local
159 struct ifnet *ifp = V_log_if; local
[all...]
/freebsd-head/sbin/routed/
H A Dif.c107 if_link(struct interface *ifp) argument
111 LIST_INSERT_HEAD(&ifnet, ifp, int_list);
113 hifp = AHASH(ifp->int_addr);
114 ifp->int_ahash_prev = hifp;
115 if ((ifp->int_ahash = *hifp) != NULL)
116 (*hifp)->int_ahash_prev = &ifp->int_ahash;
117 *hifp = ifp;
119 if (ifp->int_if_flags & IFF_BROADCAST) {
120 hifp = BHASH(ifp->int_brdaddr);
121 ifp
150 struct interface *ifp, *possible = NULL; local
187 struct interface *ifp; local
215 struct interface *ifp; local
241 struct interface *ifp, *maybe; local
300 ripv1_mask_net(naddr addr, struct interface *ifp) argument
351 ripv1_mask_host(naddr addr, struct interface *ifp) argument
393 struct interface *ifp; local
421 check_remote(struct interface *ifp) argument
451 ifdel(struct interface *ifp) argument
531 if_sick(struct interface *ifp) argument
546 if_bad(struct interface *ifp) argument
578 if_ok(struct interface *ifp, const char *type) argument
661 struct interface ifs, ifs0, *ifp, *ifp1; local
1275 check_net_syn(struct interface *ifp) argument
1322 addrouteforif(struct interface *ifp) argument
[all...]
/freebsd-head/sys/dev/liquidio/
H A Dlio_ioctl.c49 static int lio_set_rx_csum(struct ifnet *ifp, uint32_t data);
50 static int lio_set_tso4(struct ifnet *ifp);
51 static int lio_set_tso6(struct ifnet *ifp);
52 static int lio_set_lro(struct ifnet *ifp);
53 static int lio_change_mtu(struct ifnet *ifp, int new_mtu);
54 static int lio_set_mcast_list(struct ifnet *ifp);
55 static inline enum lio_ifflags lio_get_new_flags(struct ifnet *ifp);
66 lio_change_dev_flags(struct ifnet *ifp) argument
69 struct lio *lio = if_getsoftc(ifp);
78 nctrl.ncmd.s.param1 = lio_get_new_flags(ifp);
97 lio_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data) argument
214 lio_set_tso4(struct ifnet *ifp) argument
233 lio_set_tso6(struct ifnet *ifp) argument
252 lio_set_rx_csum(struct ifnet *ifp, uint32_t data) argument
279 lio_set_lro(struct ifnet *ifp) argument
341 lio_change_mtu(struct ifnet *ifp, int new_mtu) argument
424 lio_set_mac(struct ifnet *ifp, uint8_t *p) argument
468 lio_get_new_flags(struct ifnet *ifp) argument
512 lio_set_mcast_list(struct ifnet *ifp) argument
[all...]
H A Dlio_ioctl.h38 int lio_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data);
40 void lio_stop(struct ifnet *ifp);
42 int lio_set_mac(struct ifnet *ifp, uint8_t *p);
/freebsd-head/sys/dev/ena/
H A Dena_datapath.h38 void ena_qflush(if_t ifp);
39 int ena_mq_start(if_t ifp, struct mbuf *m);
/freebsd-head/sys/compat/linuxkpi/common/include/linux/
H A Dif_vlan.h45 is_vlan_dev(struct ifnet *ifp) argument
47 return (ifp->if_type == IFT_L2VLAN);
51 vlan_dev_vlan_id(struct ifnet *ifp) argument
54 if (VLAN_TAG(ifp, &vtag) == 0)
H A Dinetdevice.h42 struct ifnet *ifp; local
53 ifp = ifa->ifa_ifp;
54 if_ref(ifp);
56 ifp = NULL;
59 return (ifp);
68 struct ifnet *ifp; local
84 ifp = ifa->ifa_ifp;
85 if_ref(ifp);
87 ifp = NULL;
90 return (ifp);
[all...]
/freebsd-head/usr.bin/systat/
H A Difstat.c113 #define IN_col2 (showpps ? ifp->if_in_curpps : ifp->if_in_curtraffic)
114 #define OUT_col2 (showpps ? ifp->if_out_curpps : ifp->if_out_curtraffic)
116 ifp->if_in_pps_peak : ifp->if_in_traffic_peak)
118 ifp->if_out_pps_peak : ifp->if_out_traffic_peak)
120 ifp->if_mib.ifmd_data.ifi_ipackets : ifp
213 struct if_stat *ifp = NULL; local
272 struct if_stat *ifp = NULL; local
356 right_align_string(struct if_stat *ifp) argument
424 struct if_stat *ifp = NULL; local
[all...]
/freebsd-head/contrib/bsnmp/snmp_mibII/
H A DmibII_interfaces.c71 struct mibif *ifp; local
74 if ((ifp = mib_find_if(ifc->ifindex)) == NULL)
80 strlcpy(ifr.ifr_name, ifp->name, sizeof(ifr.ifr_name));
82 syslog(LOG_ERR, "GIFFLAGS(%s): %m", ifp->name);
98 strlcpy(ifr1.ifr_name, ifp->name, sizeof(ifr1.ifr_name));
100 syslog(LOG_ERR, "GIFFLAGS(%s): %m", ifp->name);
105 syslog(LOG_ERR, "SIFFLAGS(%s): %m", ifp->name);
108 (void)mib_fetch_ifmib(ifp);
112 ifc->rb_traps = ifp->trap_enable;
113 ifp
194 struct mibif *ifp = NULL; local
369 struct mibif *ifp = NULL; local
[all...]

Completed in 1745 milliseconds

1234567891011>>