Searched refs:promisc (Results 1 - 25 of 42) sorted by relevance

12

/freebsd-10.3-release/tools/tools/ether_reflect/
H A Dether_reflect.c62 int debug = 0, promisc = 0; local
89 promisc = 1;
111 if ((capture = pcap_open_live(interface, SNAPLEN, promisc, timeout,
/freebsd-10.3-release/sys/dev/ie/
H A Dif_ievar.h50 int promisc; member in struct:ie_softc
H A Dif_ie.c580 if (sc->promisc == 0) {
601 if ((sc->promisc & IFF_PROMISC) != 0)
1406 ie_setup_config(cmd, sc->promisc,
1538 sc->promisc =
1541 } else if (sc->promisc ^
1543 sc->promisc =
/freebsd-10.3-release/contrib/libpcap/
H A Dpcap-nit.c212 nit_setflags(int fd, int promisc, int to_ms, char *ebuf) argument
229 if (promisc)
276 nit_setflags(p->fd, p->opt.promisc, p->md.timeout, p->errbuf);
H A Dpcap-snit.c230 nit_setflags(int fd, int promisc, int to_ms, char *ebuf) argument
250 if (promisc)
352 if (nit_setflags(p->fd, p->opt.promisc, p->md.timeout, p->errbuf) < 0)
H A Dpcap-libdlpi.c143 if (p->opt.promisc) {
177 if (p->opt.promisc)
H A Dpcap-dos.c113 static int first_init (const char *name, char *ebuf, int promisc);
189 !first_init(pcap->opt.source, pcap->errbuf, pcap->opt.promisc))
604 open_driver (const char *dev_name, char *ebuf, int promisc) argument
635 if (promisc)
654 if (promisc && dev->set_multicast_list)
750 static int first_init (const char *name, char *ebuf, int promisc) argument
771 dev = open_driver (name, ebuf, promisc);
H A Dpcap.c512 p->opt.promisc = 0;
539 pcap_set_promisc(pcap_t *p, int promisc) argument
543 p->opt.promisc = promisc;
648 pcap_open_live(const char *source, int snaplen, int promisc, int to_ms, char *errbuf) argument
659 status = pcap_set_promisc(p, promisc);
H A Dpcap-int.h211 int promisc; member in struct:pcap_opt
H A Dpcap-dlpi.c608 if (p->opt.promisc) {
638 if (!p->opt.promisc) {
652 if (p->opt.promisc)
H A Dpcap-linux.c1160 * information of course). If you pass 1 as promisc the interface
1189 if (handle->opt.promisc) {
1190 handle->opt.promisc = 0;
1210 if (handle->opt.promisc)
1744 if (handle->opt.promisc)
3021 * Select promiscuous mode on if "promisc" is set.
3042 if (!is_any_device && handle->opt.promisc) {
5018 /* Go to promisc mode if requested */
5020 if (handle->opt.promisc) {
H A Dpcap-pf.c332 if (p->opt.promisc)
H A Dpcap-win32.c570 if (p->opt.promisc)
/freebsd-10.3-release/sys/netgraph/
H A Dng_ether.c85 u_char promisc; /* promiscuous mode enabled */ member in struct:private
545 *((u_int32_t *)resp->data) = priv->promisc;
556 if (want ^ priv->promisc) {
559 priv->promisc = want;
766 if (priv->promisc) { /* disable promiscuous mode */
768 priv->promisc = 0;
/freebsd-10.3-release/sys/ofed/drivers/net/mlx4/
H A Dport.c546 u32 promisc; local
579 promisc = be32_to_cpu(qpn_context->promisc) >>
581 qpn_context->promisc = cpu_to_be32(
582 promisc << SET_PORT_PROMISC_SHIFT |
584 promisc = be32_to_cpu(qpn_context->mcast) >>
587 promisc << SET_PORT_MC_PROMISC_SHIFT |
832 u8 promisc)
852 context->promisc = cpu_to_be32(promisc << SET_PORT_PROMISC_SHIF
831 mlx4_SET_PORT_qpn_calc(struct mlx4_dev *dev, u8 port, u32 base_qpn, u8 promisc) argument
[all...]
/freebsd-10.3-release/contrib/bsnmp/snmp_mibII/
H A DmibII_interfaces.c45 int promisc; member in struct:ifchange
87 if (ifc->promisc)
426 ifc->promisc = (value->v.integer == 1) ? 1 : 0;
/freebsd-10.3-release/sbin/setkey/
H A Dsetkey.c60 void promisc(void);
183 promisc();
227 promisc() function
277 /* adjust base pointer for promisc mode */
/freebsd-10.3-release/sys/netipsec/
H A Dkeysock.c140 key_sendup0(struct rawcb *rp, struct mbuf *m, int promisc) argument
144 if (promisc) {
/freebsd-10.3-release/lib/libpcap/
H A Dpcap-netmap.c232 if (p->opt.promisc && !(d->req.nr_ringid & NETMAP_SW_RING)) {
/freebsd-10.3-release/sys/mips/adm5120/
H A Dif_admsw.c1170 uint32_t allmc, anymc, conf, promisc; local
1174 /* Find which ports should be operated in promisc mode. */
1175 allmc = anymc = promisc = 0;
1179 promisc |= vlan_matrix[i];
1202 conf ^= ((promisc << CPUP_CONF_DUNP_SHIFT) & CPUP_CONF_DUNP_MASK);
/freebsd-10.3-release/sys/dev/oce/
H A Doce_hw.c421 rc = oce_rxf_set_promiscuous(sc, sc->promisc);
H A Doce_if.c297 sc->promisc = OCE_DEFAULT_PROMISCUOUS;
461 if ((ifp->if_flags & IFF_PROMISC) && !sc->promisc) {
463 sc->promisc = TRUE;
464 } else if (!(ifp->if_flags & IFF_PROMISC) && sc->promisc) {
466 sc->promisc = FALSE;
/freebsd-10.3-release/sys/dev/mlx5/mlx5_en/
H A Dmlx5_en_flow_table.c686 mlx5e_add_eth_addr_rule(priv, &ea->promisc, MLX5E_PROMISC);
699 mlx5e_del_eth_addr_from_flow_table(priv, &ea->promisc);
H A Den.h590 struct mlx5e_eth_addr_info promisc; member in struct:mlx5e_eth_addr_db
/freebsd-10.3-release/sys/net/
H A Dnetmap_user.h217 int promisc; member in struct:nm_desc

Completed in 307 milliseconds

12