| /freebsd-10-stable/tools/tools/ether_reflect/ |
| D | ether_reflect.c | 62 int debug = 0, promisc = 0; in main() local 89 promisc = 1; in main() 111 if ((capture = pcap_open_live(interface, SNAPLEN, promisc, timeout, in main()
|
| /freebsd-10-stable/sys/netgraph/ |
| D | ng_ether.c | 85 u_char promisc; /* promiscuous mode enabled */ member 545 *((u_int32_t *)resp->data) = priv->promisc; in ng_ether_rcvmsg() 556 if (want ^ priv->promisc) { in ng_ether_rcvmsg() 559 priv->promisc = want; in ng_ether_rcvmsg() 766 if (priv->promisc) { /* disable promiscuous mode */ in ng_ether_shutdown() 768 priv->promisc = 0; in ng_ether_shutdown()
|
| /freebsd-10-stable/contrib/libpcap/ |
| D | pcap-nit.c | 212 nit_setflags(int fd, int promisc, int to_ms, char *ebuf) in nit_setflags() argument 229 if (promisc) in nit_setflags() 276 nit_setflags(p->fd, p->opt.promisc, p->md.timeout, p->errbuf); in pcap_activate_nit()
|
| D | pcap-snit.c | 230 nit_setflags(int fd, int promisc, int to_ms, char *ebuf) in nit_setflags() argument 250 if (promisc) in nit_setflags() 352 if (nit_setflags(p->fd, p->opt.promisc, p->md.timeout, p->errbuf) < 0) in pcap_activate_snit()
|
| D | pcap-dos.c | 113 static int first_init (const char *name, char *ebuf, int promisc); 189 !first_init(pcap->opt.source, pcap->errbuf, pcap->opt.promisc)) in pcap_activate_dos() 604 open_driver (const char *dev_name, char *ebuf, int promisc) in open_driver() argument 635 if (promisc) in open_driver() 654 if (promisc && dev->set_multicast_list) in open_driver() 750 static int first_init (const char *name, char *ebuf, int promisc) in first_init() argument 771 dev = open_driver (name, ebuf, promisc); in first_init()
|
| D | pcap.c | 512 p->opt.promisc = 0; in pcap_create_common() 539 pcap_set_promisc(pcap_t *p, int promisc) in pcap_set_promisc() argument 543 p->opt.promisc = promisc; in pcap_set_promisc() 648 pcap_open_live(const char *source, int snaplen, int promisc, int to_ms, char *errbuf) in pcap_open_live() argument 659 status = pcap_set_promisc(p, promisc); in pcap_open_live()
|
| D | pcap-libdlpi.c | 143 if (p->opt.promisc) { in pcap_activate_libdlpi() 177 if (p->opt.promisc) in pcap_activate_libdlpi()
|
| D | pcap-dlpi.c | 608 if (p->opt.promisc) { 638 if (!p->opt.promisc) { 652 if (p->opt.promisc)
|
| D | pcap-int.h | 211 int promisc; member
|
| D | pcap-linux.c | 1189 if (handle->opt.promisc) { 1190 handle->opt.promisc = 0; 1210 if (handle->opt.promisc) 1744 if (handle->opt.promisc) 3042 if (!is_any_device && handle->opt.promisc) { 5020 if (handle->opt.promisc) {
|
| D | pcap-pf.c | 332 if (p->opt.promisc) in pcap_activate_pf()
|
| D | pcap-win32.c | 570 if (p->opt.promisc) in pcap_activate_win32()
|
| /freebsd-10-stable/sys/ofed/drivers/net/mlx4/ |
| D | port.c | 548 u32 promisc; in mlx4_common_set_port() local 581 promisc = be32_to_cpu(qpn_context->promisc) >> in mlx4_common_set_port() 583 qpn_context->promisc = cpu_to_be32( in mlx4_common_set_port() 584 promisc << SET_PORT_PROMISC_SHIFT | in mlx4_common_set_port() 586 promisc = be32_to_cpu(qpn_context->mcast) >> in mlx4_common_set_port() 589 promisc << SET_PORT_MC_PROMISC_SHIFT | in mlx4_common_set_port() 834 u8 promisc) in mlx4_SET_PORT_qpn_calc() argument 854 context->promisc = cpu_to_be32(promisc << SET_PORT_PROMISC_SHIFT | in mlx4_SET_PORT_qpn_calc()
|
| /freebsd-10-stable/sbin/setkey/ |
| D | setkey.c | 60 void promisc(void); 183 promisc(); 227 promisc() in promisc() function
|
| /freebsd-10-stable/contrib/bsnmp/snmp_mibII/ |
| D | mibII_interfaces.c | 45 int promisc; member 87 if (ifc->promisc) in ifchange_func() 426 ifc->promisc = (value->v.integer == 1) ? 1 : 0; in op_ifxtable()
|
| /freebsd-10-stable/sys/dev/ie/ |
| D | if_ievar.h | 50 int promisc; member
|
| D | if_ie.c | 582 if (sc->promisc == 0) { in check_eh() 603 if ((sc->promisc & IFF_PROMISC) != 0) in check_eh() 1408 ie_setup_config(cmd, sc->promisc, in ieinit_locked() 1540 sc->promisc = in ieioctl() 1543 } else if (sc->promisc ^ in ieioctl() 1545 sc->promisc = in ieioctl()
|
| /freebsd-10-stable/sys/netipsec/ |
| D | keysock.c | 140 key_sendup0(struct rawcb *rp, struct mbuf *m, int promisc) in key_sendup0() argument 144 if (promisc) { in key_sendup0()
|
| /freebsd-10-stable/sys/mips/adm5120/ |
| D | if_admsw.c | 1170 uint32_t allmc, anymc, conf, promisc; in admsw_set_filter() local 1175 allmc = anymc = promisc = 0; in admsw_set_filter() 1179 promisc |= vlan_matrix[i]; in admsw_set_filter() 1202 conf ^= ((promisc << CPUP_CONF_DUNP_SHIFT) & CPUP_CONF_DUNP_MASK); in admsw_set_filter()
|
| /freebsd-10-stable/tools/tools/net80211/w00t/ |
| D | README | 7 ifconfig wlan create wlandev ath0 wlanmode ahdemo channel 7 promisc up
|
| /freebsd-10-stable/lib/libpcap/ |
| D | pcap-netmap.c | 232 if (p->opt.promisc && !(d->req.nr_ringid & NETMAP_SW_RING)) { in pcap_netmap_activate()
|
| /freebsd-10-stable/sys/dev/oce/ |
| D | oce_if.c | 297 sc->promisc = OCE_DEFAULT_PROMISCUOUS; in oce_attach() 461 if ((ifp->if_flags & IFF_PROMISC) && !sc->promisc) { in oce_ioctl() 463 sc->promisc = TRUE; in oce_ioctl() 464 } else if (!(ifp->if_flags & IFF_PROMISC) && sc->promisc) { in oce_ioctl() 466 sc->promisc = FALSE; in oce_ioctl()
|
| D | oce_hw.c | 421 rc = oce_rxf_set_promiscuous(sc, sc->promisc); in oce_create_nw_interface()
|
| /freebsd-10-stable/sys/dev/mlx5/mlx5_en/ |
| D | mlx5_en_flow_table.c | 816 mlx5e_add_eth_addr_rule(priv, &ea->promisc, MLX5E_PROMISC); in mlx5e_set_rx_mode_core() 829 mlx5e_del_eth_addr_from_flow_table(priv, &ea->promisc); in mlx5e_set_rx_mode_core()
|
| /freebsd-10-stable/sys/dev/virtio/network/ |
| D | if_vtnet.c | 3310 int ucnt, mcnt, promisc, allmulti, error; in vtnet_rx_filter_mac() local 3317 promisc = 0; in vtnet_rx_filter_mac() 3333 promisc = 1; in vtnet_rx_filter_mac() 3343 if (promisc != 0) { in vtnet_rx_filter_mac() 3375 if (promisc != 0 && allmulti != 0) in vtnet_rx_filter_mac() 3399 if (promisc != 0 && vtnet_set_promisc(sc, 1) != 0) in vtnet_rx_filter_mac()
|