/freebsd/tools/tools/ether_reflect/ |
H A D | ether_reflect.c | 60 int debug = 0, promisc = 0; in main() local 87 promisc = 1; in main() 109 if ((capture = pcap_open_live(interface, SNAPLEN, promisc, timeout, in main()
|
/freebsd/contrib/libpcap/ |
H A D | pcap-dos.c | 112 static int first_init (const char *name, char *ebuf, int promisc); 210 !first_init(pcap->opt.device, pcap->errbuf, pcap->opt.promisc)) in pcap_activate_dos() 669 open_driver (const char *dev_name, char *ebuf, int promisc) in open_driver() argument 700 if (promisc) in open_driver() 719 if (promisc && dev->set_multicast_list) in open_driver() 815 static int first_init (const char *name, char *ebuf, int promisc) in first_init() argument 836 dev = open_driver (name, ebuf, promisc); in first_init() 1207 int promisc = (dev->flags & IFF_PROMISC); in ndis_open() local 1210 if (!NdisInit(promisc)) in ndis_open() 1214 ARGSUSED (promisc); in ndis_open()
|
H A D | pcap-haiku.c | 200 if (handle->opt.promisc && ! handlep->orig_promisc && in pcap_cleanup_haiku() 359 if (handle->opt.promisc) { in pcap_activate_haiku()
|
H A D | pcap-libdlpi.c | 159 if (p->opt.promisc) { in pcap_activate_libdlpi() 197 if (p->opt.promisc) in pcap_activate_libdlpi()
|
H A D | pcap.c | 2559 p->opt.promisc = 0; 2603 pcap_set_promisc(pcap_t *p, int promisc) argument 2607 p->opt.promisc = promisc; 2808 pcap_open_live(const char *device, int snaplen, int promisc, int to_ms, char *errbuf) argument 2848 promisc ? PCAP_OPENFLAG_PROMISCUOUS : 0, to_ms, 2876 status = pcap_set_promisc(p, promisc);
|
H A D | pcap-netmap.c | 255 if (p->opt.promisc && !(d->req.nr_ringid & NETMAP_SW_RING)) { in pcap_netmap_activate()
|
H A D | pcap-dlpi.c | 692 if (p->opt.promisc) { 724 if (!p->opt.promisc) { 734 if (p->opt.promisc) {
|
H A D | pcap-int.h | 169 int promisc; member
|
H A D | pcap-nit.c | 248 if (p->opt.promisc) in nit_setflags()
|
H A D | pcap-snit.c | 269 if (p->opt.promisc) in nit_setflags()
|
H A D | pcap-linux.c | 1067 if (handle->opt.promisc) { in pcap_activate_linux() 1068 handle->opt.promisc = 0; in pcap_activate_linux() 1085 if (handle->opt.promisc) in pcap_activate_linux() 1388 if (handle->opt.promisc) in pcap_stats_linux() 2605 if (!is_any_device && handle->opt.promisc) { in setup_socket()
|
H A D | pcap-pf.c | 358 if (p->opt.promisc) in pcap_activate_pf()
|
/freebsd/sys/netgraph/ |
H A 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/sbin/setkey/ |
H A D | setkey.c | 63 void promisc(void); 221 promisc(); in main() 264 promisc(void) in promisc() function 314 /* adjust base pointer for promisc mode */ in promisc()
|
/freebsd/sys/netipsec/ |
H A D | keysock.c | 145 key_sendup0(struct keycb *kp, struct mbuf *m, int promisc) in key_sendup0() argument 148 if (promisc) { in key_sendup0()
|
/freebsd/contrib/bsnmp/snmp_mibII/ |
H A D | mibII_interfaces.c | 45 int promisc; member 87 if (ifc->promisc) in ifchange_func() 421 ifc->promisc = (value->v.integer == 1) ? 1 : 0; in op_ifxtable()
|
/freebsd/sys/dev/enic/ |
H A D | vnic_dev.h | 101 int broadcast, int promisc, int allmulti); 103 int multicast, int broadcast, int promisc, int allmulti);
|
H A D | if_enic.c | 1063 softc->promisc = 1; in enic_multi_set() 1065 softc->promisc = 0; in enic_multi_set() 1143 softc->promisc = 1; in enic_promisc_set() 1145 softc->promisc = 0; in enic_promisc_set() 1704 softc->promisc, in enic_update_packet_filter() 1728 softc->promisc = 0; in enic_setup_finish()
|
H A D | enic.h | 329 int promisc; member
|
H A D | vnic_dev.c | 699 int broadcast, int promisc, int allmulti) in vnic_dev_packet_filter() argument 708 (promisc ? CMD_PFILTER_PROMISCUOUS : 0) | in vnic_dev_packet_filter()
|
/freebsd/sys/dev/mlx4/mlx4_core/ |
H A D | mlx4_port.c | 1263 u32 promisc; in mlx4_common_set_port() local 1292 promisc = be32_to_cpu(qpn_context->promisc) >> in mlx4_common_set_port() 1294 qpn_context->promisc = cpu_to_be32( in mlx4_common_set_port() 1295 promisc << SET_PORT_PROMISC_SHIFT | in mlx4_common_set_port() 1297 promisc = be32_to_cpu(qpn_context->mcast) >> in mlx4_common_set_port() 1300 promisc << SET_PORT_MC_PROMISC_SHIFT | in mlx4_common_set_port() 1579 u8 promisc) in mlx4_SET_PORT_qpn_calc() argument 1597 context->promisc = cpu_to_be32(promisc << SET_PORT_PROMISC_SHIFT | in mlx4_SET_PORT_qpn_calc()
|
/freebsd/tools/tools/net80211/w00t/ |
H A D | README | 6 ifconfig wlan create wlandev ath0 wlanmode ahdemo channel 7 promisc up
|
/freebsd/sys/dev/oce/ |
H A D | oce_hw.c | 411 rc = oce_rxf_set_promiscuous(sc, sc->promisc); in oce_create_nw_interface()
|
H A D | oce_if.c | 313 sc->promisc = OCE_DEFAULT_PROMISCUOUS; in oce_attach() 498 if ((if_getflags(ifp) & IFF_PROMISC) && !sc->promisc) { in oce_ioctl() 500 sc->promisc = TRUE; in oce_ioctl() 501 } else if (!(if_getflags(ifp) & IFF_PROMISC) && sc->promisc) { in oce_ioctl() 503 sc->promisc = FALSE; in oce_ioctl()
|
/freebsd/tests/sys/net/ |
H A D | if_vlan.sh | 247 ifconfig $vlan2 promisc
|