/freebsd-11-stable/usr.sbin/bluetooth/hcseriald/ |
H A D | hcseriald.c | 163 struct nodeinfo ni; local 220 memset(&ni, 0, sizeof(ni)); 221 if (ioctl(fd, NGIOCGINFO, &ni) < 0) { 228 snprintf(p, sizeof(p), "%s:", ni.name);
|
/freebsd-11-stable/sys/dev/wpi/ |
H A D | if_wpivar.h | 65 struct ieee80211_node *ni; member in struct:wpi_tx_data 97 struct ieee80211_node ni; /* must be the first */ member in struct:wpi_node 100 #define WPI_NODE(ni) ((struct wpi_node *)(ni)) 117 struct ieee80211_node *ni; member in struct:wpi_buf
|
/freebsd-11-stable/sys/dev/ath/ |
H A D | if_ath_rx.c | 334 ath_recv_mgmt(struct ieee80211_node *ni, struct mbuf *m, argument 337 struct ieee80211vap *vap = ni->ni_vap; 347 tsf_beacon_old = ((uint64_t) le32dec(ni->ni_tstamp.data + 4)) << 32; 348 tsf_beacon_old |= le32dec(ni->ni_tstamp.data); 352 if (ni->ni_intval > 0) { 353 tsf_intval = TU_TO_TSF(ni->ni_intval); 361 ATH_VAP(vap)->av_recv_mgmt(ni, m, subtype, rxs, rssi, nf); 375 if (IEEE80211_ADDR_EQ(ni->ni_bssid, vap->iv_bss->ni_bssid)) { 381 tsf_beacon = ((uint64_t) le32dec(ni->ni_tstamp.data + 4)) << 32; 382 tsf_beacon |= le32dec(ni 612 struct ieee80211_node *ni; local 640 struct ieee80211_node *ni; local [all...] |
H A D | if_ath_misc.h | 63 struct ieee80211_node *ni, struct ath_rc_series *rc, 95 struct ieee80211_node *ni, int enable);
|
H A D | if_ath_rx.h | 35 extern void ath_recv_mgmt(struct ieee80211_node *ni, struct mbuf *m,
|
/freebsd-11-stable/sys/dev/urtwn/ |
H A D | if_urtwn.c | 491 urtwn_ampdu_enable(struct ieee80211_node *ni, struct ieee80211_tx_ampdu *tap) argument 714 struct ieee80211_node *ni; local 717 ni = (struct ieee80211_node *)m->m_pkthdr.rcvif; 719 ieee80211_free_node(ni); 843 if (dp->ni != NULL) { 844 if (dp->ni->ni_vap == vap) { 845 ieee80211_free_node(dp->ni); 846 dp->ni = NULL; 1018 struct ieee80211_node *ni; local 1026 ni 1130 struct ieee80211_node *ni; local 2012 struct ieee80211_node *ni; local 2146 urtwn_setup_beacon(struct urtwn_softc *sc, struct ieee80211_node *ni) argument 2190 struct ieee80211_node *ni = vap->iv_bss; local 2429 struct ieee80211_node *ni; local 2540 urtwn_ibss_recv_mgmt(struct ieee80211_node *ni, struct mbuf *m, int subtype, const struct ieee80211_rx_stats *rxs, int rssi, int nf) argument 2571 struct ieee80211_node *ni; local 2894 urtwn_tx_data(struct urtwn_softc *sc, struct ieee80211_node *ni, struct mbuf *m, struct urtwn_data *data) argument 3129 urtwn_tx_raw(struct urtwn_softc *sc, struct ieee80211_node *ni, struct mbuf *m, struct urtwn_data *data, const struct ieee80211_bpf_params *params) argument 3303 struct ieee80211_node *ni; local 5060 urtwn_newassoc(struct ieee80211_node *ni, int isnew) argument 5090 urtwn_node_free(struct ieee80211_node *ni) argument 5588 urtwn_raw_xmit(struct ieee80211_node *ni, struct mbuf *m, const struct ieee80211_bpf_params *params) argument [all...] |
/freebsd-11-stable/sys/dev/usb/wlan/ |
H A D | if_rum.c | 784 ieee80211_tx_complete(data->ni, data->m, txerr); 786 data->ni = NULL; 830 if (data->ni != NULL) { 831 ieee80211_free_node(data->ni); 832 data->ni = NULL; 865 rum_sta_recv_mgmt(struct ieee80211_node *ni, struct mbuf *m, int subtype, argument 869 struct ieee80211vap *vap = ni->ni_vap; 892 rvp->recv_mgmt(ni, m, subtype, rxs, rssi, nf); 928 struct ieee80211_node *ni; local 963 ni 1132 struct ieee80211_node *ni; local 1361 rum_sendprot(struct rum_softc *sc, const struct mbuf *m, struct ieee80211_node *ni, int prot, int rate) argument 1413 rum_tx_crypto_flags(struct rum_softc *sc, struct ieee80211_node *ni, const struct ieee80211_key *k) argument 1447 rum_tx_mgt(struct rum_softc *sc, struct mbuf *m0, struct ieee80211_node *ni) argument 1522 rum_tx_raw(struct rum_softc *sc, struct mbuf *m0, struct ieee80211_node *ni, const struct ieee80211_bpf_params *params) argument 1582 rum_tx_data(struct rum_softc *sc, struct mbuf *m0, struct ieee80211_node *ni) argument 1710 struct ieee80211_node *ni; local 2133 struct ieee80211_node *ni = vap->iv_bss; local 2681 struct ieee80211_node *ni; local 2749 struct ieee80211_node *ni = vap->iv_bss; local 2783 struct ieee80211_node *ni = vap->iv_bss; local 3027 rum_raw_xmit(struct ieee80211_node *ni, struct mbuf *m, const struct ieee80211_bpf_params *params) argument 3069 rum_ratectl_start(struct rum_softc *sc, struct ieee80211_node *ni) argument 3096 struct ieee80211_node *ni; local [all...] |
H A D | if_runvar.h | 90 struct ieee80211_node *ni; member in struct:run_tx_data 99 struct ieee80211_node ni; member in struct:run_node 106 #define RUN_NODE(ni) ((struct run_node *)(ni))
|
H A D | if_upgt.c | 383 ieee80211_tx_complete(data->ni, data->m, 0); 385 data->ni = NULL; 580 struct ieee80211_node *ni; local 635 ni = ieee80211_ref_node(vap->iv_bss); 641 IEEE80211_ADDR_COPY(filter->src, ni->ni_bssid); 650 ether_sprintf(ni->ni_bssid)); 654 IEEE80211_ADDR_COPY(filter->src, ni->ni_bssid); 661 ieee80211_free_node(ni); 759 struct ieee80211_node *ni; local 774 ni 790 upgt_raw_xmit(struct ieee80211_node *ni, struct mbuf *m, const struct ieee80211_bpf_params *params) argument 2109 upgt_tx_start(struct upgt_softc *sc, struct mbuf *m, struct ieee80211_node *ni, struct upgt_data *data) argument 2211 struct ieee80211_node *ni; local [all...] |
H A D | if_run.c | 832 struct ieee80211_node *ni; local 836 ni = (struct ieee80211_node *)m->m_pkthdr.rcvif; 838 ieee80211_free_node(ni); 1094 if (data->ni != NULL) { 1095 ieee80211_free_node(data->ni); 1096 data->ni = NULL; 2010 struct ieee80211_node *ni; local 2018 ni = ieee80211_ref_node(vap->iv_bss); 2019 rn = RUN_NODE(ni); 2022 ieee80211_free_node(ni); 2121 struct ieee80211_node *ni; local 2228 struct ieee80211_node *ni; local 2545 run_iter_func(void *arg, struct ieee80211_node *ni) argument 2608 struct ieee80211_node *ni = cmdq->arg1; local 2621 run_newassoc(struct ieee80211_node *ni, int isnew) argument 2715 run_recv_mgmt(struct ieee80211_node *ni, struct mbuf *m, int subtype, const struct ieee80211_rx_stats *rxs, int rssi, int nf) argument 2747 struct ieee80211_node *ni; local 3256 run_tx(struct run_softc *sc, struct mbuf *m, struct ieee80211_node *ni) argument 3420 run_tx_mgt(struct run_softc *sc, struct mbuf *m, struct ieee80211_node *ni) argument 3486 run_sendprot(struct run_softc *sc, const struct mbuf *m, struct ieee80211_node *ni, int prot, int rate) argument 3574 run_tx_param(struct run_softc *sc, struct mbuf *m, struct ieee80211_node *ni, const struct ieee80211_bpf_params *params) argument 3653 run_raw_xmit(struct ieee80211_node *ni, struct mbuf *m, const struct ieee80211_bpf_params *params) argument 3717 struct ieee80211_node *ni; local 4858 struct ieee80211_node *ni = vap->iv_bss; local 4899 struct ieee80211_node *ni = vap->iv_bss; local [all...] |
/freebsd-11-stable/sys/netpfil/ipfw/ |
H A D | ip_fw_private.h | 710 typedef int (objhash_cb_t)(struct namedobj_instance *ni, struct named_object *, 712 typedef uint32_t (objhash_hash_f)(struct namedobj_instance *ni, const void *key, 719 void ipfw_objhash_bitmap_merge(struct namedobj_instance *ni, 721 void ipfw_objhash_bitmap_swap(struct namedobj_instance *ni, 724 void ipfw_objhash_set_hashf(struct namedobj_instance *ni, objhash_hash_f *f); 725 struct named_object *ipfw_objhash_lookup_name(struct namedobj_instance *ni, 727 struct named_object *ipfw_objhash_lookup_name_type(struct namedobj_instance *ni, 729 struct named_object *ipfw_objhash_lookup_kidx(struct namedobj_instance *ni, 731 int ipfw_objhash_same_name(struct namedobj_instance *ni, struct named_object *a, 733 void ipfw_objhash_add(struct namedobj_instance *ni, struc [all...] |
H A D | ip_dn_io.c | 343 q->ni.len_bytes : q->ni.length; 492 struct dn_flow *ni; /* stats for scheduler instance */ local 502 ni = &q->_si->ni; 505 q->ni.tot_bytes += len; 506 q->ni.tot_pkts++; 507 ni->tot_bytes += len; 508 ni->tot_pkts++; 523 if (q->ni [all...] |
H A D | dn_aqm_pie.c | 219 pst->current_qdelay = ((uint64_t)pst->pq->ni.len_bytes * 222 if (!pst->pq->ni.len_bytes) 340 if (q->ni.length == 0) /* queue is now idle */ 407 struct dn_flow *ni; /* stats for scheduler instance */ local 416 ni = &q->_si->ni; 458 q->ni.len_bytes >= PIE_DQ_THRESHOLD) { 502 q->ni.len_bytes : q->ni.length; 509 && drop_early(pst, q->ni [all...] |
H A D | dn_sched_fq_pie.c | 299 si->main_q.ni.drops ++; 301 si->_si.ni.drops ++; 307 si->main_q.ni.length += inc; 308 si->main_q.ni.len_bytes += len; 315 si->_si.ni.length += inc; 316 si->_si.ni.len_bytes += len; 320 si->main_q.ni.tot_bytes += len; 321 si->main_q.ni.tot_pkts ++; 326 si->_si.ni.tot_bytes +=len; 327 si->_si.ni [all...] |
/freebsd-11-stable/sys/net80211/ |
H A D | ieee80211_ht.h | 221 int ieee80211_ampdu_rx_start_ext(struct ieee80211_node *ni, int tid, 223 int ieee80211_ampdu_tx_request_ext(struct ieee80211_node *ni, int tid); 224 int ieee80211_ampdu_tx_request_active_ext(struct ieee80211_node *ni,
|
H A D | ieee80211_tdma.h | 97 void ieee80211_parse_tdma(struct ieee80211_node *ni, const uint8_t *ie);
|
/freebsd-11-stable/sys/dev/otus/ |
H A D | if_otus.c | 445 struct ieee80211_node *ni; local 449 ni = (struct ieee80211_node *) m->m_pkthdr.rcvif; 451 ieee80211_free_node(ni); 496 struct ieee80211_node *ni; local 511 ni = (struct ieee80211_node *)m->m_pkthdr.rcvif; 514 if (otus_tx(sc, ni, m, bf, NULL) != 0) { 517 if_inc_counter(ni->ni_vap->iv_ifp, 520 ieee80211_free_node(ni); 538 otus_raw_xmit(struct ieee80211_node *ni, struct mbuf *m, argument 541 struct ieee80211com *ic= ni 595 otus_ampdu_enable(struct ieee80211_node *ni, struct ieee80211_tx_ampdu *tap) argument 1431 otus_newassoc(struct ieee80211_node *ni, int isnew) argument 1533 struct ieee80211_node *ni; local 1773 struct ieee80211_node *ni; local 2147 otus_tx_update_ratectl(struct otus_softc *sc, struct ieee80211_node *ni) argument 2173 otus_tx(struct otus_softc *sc, struct ieee80211_node *ni, struct mbuf *m, struct otus_data *data, const struct ieee80211_bpf_params *params) argument 2863 otus_set_key(struct ieee80211com *ic, struct ieee80211_node *ni, struct ieee80211_key *k) argument 2930 otus_delete_key(struct ieee80211com *ic, struct ieee80211_node *ni, struct ieee80211_key *k) argument 3088 struct ieee80211_node *ni; local [all...] |
/freebsd-11-stable/sys/netpfil/ipfw/test/ |
H A D | main.c | 120 i = q->ni.length; // XXX or ffs... 124 struct list_head *h = &q->ni.h; 176 if (_q->ni.length == 1) { 177 _q->ni.bytes = 0; 178 _q->ni.sch_bytes = si->ni.bytes; 189 _q->ni.bytes += len; 190 si->ni.bytes += len; 192 if (_q->ni.length == 0) { 193 double bytes = (double)_q->ni [all...] |
/freebsd-11-stable/sbin/ping6/ |
H A D | ping6.c | 1468 struct icmp6_nodeinfo *ni; local 1505 ni = (struct icmp6_nodeinfo *)buf; 1586 } else if (icp->icmp6_type == ICMP6_NI_REPLY && mynireply(ni)) { 1587 seq = ntohs(*(u_int16_t *)ni->icmp6_ni_nonce); 1603 switch (ntohs(ni->ni_code)) { 1607 printf("refused, type 0x%x", ntohs(ni->ni_type)); 1610 printf("unknown, type 0x%x", ntohs(ni->ni_type)); 1614 ntohs(ni->ni_code), ntohs(ni->ni_type)); 1618 switch (ntohs(ni 1971 pr_suptypes(struct icmp6_nodeinfo *ni, size_t nilen) argument 2037 pr_nodeaddr(struct icmp6_nodeinfo *ni, int nilen) argument 2285 struct icmp6_nodeinfo *ni; local [all...] |
/freebsd-11-stable/sys/dev/ral/ |
H A D | rt2860.c | 562 if (data->ni != NULL) { 563 ieee80211_free_node(data->ni); 564 data->ni = NULL; 600 if (data->ni != NULL) 601 ieee80211_free_node(data->ni); 836 rt2860_newassoc(struct ieee80211_node *ni, int isnew) argument 838 struct ieee80211com *ic = ni->ni_ic; 842 wcid = IEEE80211_AID(ni->ni_associd); 843 if (isnew && ni->ni_associd != 0) { 844 sc->wcid2ni[wcid] = ni; 855 rt2860_node_free(struct ieee80211_node *ni) argument 872 rt2860_ampdu_rx_start(struct ieee80211com *ic, struct ieee80211_node *ni, uint8_t tid) argument 887 rt2860_ampdu_rx_stop(struct ieee80211com *ic, struct ieee80211_node *ni, uint8_t tid) argument 930 struct ieee80211_node *ni = vap->iv_bss; local 1084 struct ieee80211_node *ni; local 1183 struct ieee80211_node *ni; local 1451 rt2860_tx(struct rt2860_softc *sc, struct mbuf *m, struct ieee80211_node *ni) argument 1693 rt2860_raw_xmit(struct ieee80211_node *ni, struct mbuf *m, const struct ieee80211_bpf_params *params) argument 1727 rt2860_tx_raw(struct rt2860_softc *sc, struct mbuf *m, struct ieee80211_node *ni, const struct ieee80211_bpf_params *params) argument 1962 struct ieee80211_node *ni; local 3158 rt2860_set_key(struct ieee80211com *ic, struct ieee80211_node *ni, struct ieee80211_key *k) argument 3261 rt2860_delete_key(struct ieee80211com *ic, struct ieee80211_node *ni, struct ieee80211_key *k) argument [all...] |
/freebsd-11-stable/sys/dev/iwn/ |
H A D | if_iwn.c | 1366 struct ieee80211_node *ni; local 1370 ni = (struct ieee80211_node *)m->m_pkthdr.rcvif; 1371 ieee80211_free_node(ni); 2065 if (data->ni != NULL) { 2066 ieee80211_free_node(data->ni); 2067 data->ni = NULL; 2723 iwn_rate_to_plcp(struct iwn_softc *sc, struct ieee80211_node *ni, argument 2726 struct ieee80211com *ic = ni->ni_ic; 2752 if (IEEE80211_IS_CHAN_HT40(ni->ni_chan)) { 2754 if (ni 2804 iwn_newassoc(struct ieee80211_node *ni, int isnew) argument 2965 struct ieee80211_node *ni; local 3158 struct ieee80211_node *ni; local 3562 struct ieee80211_node *ni; local 3656 struct ieee80211_node *ni; local 4302 iwn_tx_rate_to_linkq_offset(struct iwn_softc *sc, struct ieee80211_node *ni, uint8_t rate) argument 4360 iwn_tx_data(struct iwn_softc *sc, struct mbuf *m, struct ieee80211_node *ni) argument 4660 iwn_tx_data_raw(struct iwn_softc *sc, struct mbuf *m, struct ieee80211_node *ni, const struct ieee80211_bpf_params *params) argument 4856 struct ieee80211_node *ni; local 4902 iwn_raw_xmit(struct ieee80211_node *ni, struct mbuf *m, const struct ieee80211_bpf_params *params) argument 4962 struct ieee80211_node *ni; local 5210 iwn_set_link_quality(struct iwn_softc *sc, struct ieee80211_node *ni) argument 5460 iwn_set_timing(struct iwn_softc *sc, struct ieee80211_node *ni) argument 6765 struct ieee80211_node *ni = vap->iv_bss; local 7026 struct ieee80211_node *ni = vap->iv_bss; local 7098 struct ieee80211_node *ni = vap->iv_bss; local 7225 iwn_ampdu_rx_start(struct ieee80211_node *ni, struct ieee80211_rx_ampdu *rap, int baparamset, int batimeout, int baseqctl) argument 7262 iwn_ampdu_rx_stop(struct ieee80211_node *ni, struct ieee80211_rx_ampdu *rap) argument 7290 iwn_addba_request(struct ieee80211_node *ni, struct ieee80211_tx_ampdu *tap, int dialogtoken, int baparamset, int batimeout) argument 7320 iwn_addba_response(struct ieee80211_node *ni, struct ieee80211_tx_ampdu *tap, int code, int baparamset, int batimeout) argument 7348 iwn_ampdu_tx_start(struct ieee80211com *ic, struct ieee80211_node *ni, uint8_t tid) argument 7384 iwn_ampdu_tx_stop(struct ieee80211_node *ni, struct ieee80211_tx_ampdu *tap) argument 7411 iwn4965_ampdu_tx_start(struct iwn_softc *sc, struct ieee80211_node *ni, int qid, uint8_t tid, uint16_t ssn) argument 7472 iwn5000_ampdu_tx_start(struct iwn_softc *sc, struct ieee80211_node *ni, int qid, uint8_t tid, uint16_t ssn) argument [all...] |
/freebsd-11-stable/sys/dev/patm/genrtab/ |
H A D | genrtab.c | 284 gen_glob_entry(u_int alink, u_int fill, u_int ci, u_int ni) argument 287 printf(" 0x%08x, /* %2u/32 %8.6f, %6u, ci=%u, ni=%u */\n", 288 cps2atmf(alink * fill / 32.0) | (ci << 17) | (ni << 16), 289 fill, fill / 32.0, alink * fill / 32, ci, ni); 292 cps2atmf(alink * fill / 32.0) | (ci << 17) | (ni << 16));
|
/freebsd-11-stable/sys/dev/iwi/ |
H A D | if_iwi.c | 687 if (data->ni != NULL) { 688 ieee80211_free_node(data->ni); 689 data->ni = NULL; 724 if (data->ni != NULL) 725 ieee80211_free_node(data->ni); 880 iwi_node_free(struct ieee80211_node *ni) argument 882 struct ieee80211com *ic = ni->ni_ic; 884 struct iwi_node *in = (struct iwi_node *)ni; 888 ni->ni_macaddr, ":", in->in_station)); 892 sc->sc_node_free(ni); 928 struct ieee80211_node *ni; local 1181 struct ieee80211_node *ni; local 1304 struct ieee80211_node *ni; local 1766 iwi_tx_start(struct iwi_softc *sc, struct mbuf *m0, struct ieee80211_node *ni, int ac) argument 1931 iwi_raw_xmit(struct ieee80211_node *ni, struct mbuf *m, const struct ieee80211_bpf_params *params) argument 1966 struct ieee80211_node *ni; local 2814 struct ieee80211_node *ni; local [all...] |
/freebsd-11-stable/sys/netpfil/ipfw/nptv6/ |
H A D | nptv6.c | 70 static struct nptv6_cfg *nptv6_find(struct namedobj_instance *ni, 458 export_config_cb(struct namedobj_instance *ni, struct named_object *no, argument 470 nptv6_find(struct namedobj_instance *ni, const char *name, uint8_t set) argument 474 cfg = (struct nptv6_cfg *)ipfw_objhash_lookup_name_type(ni, set, 514 struct namedobj_instance *ni; local 537 ni = CHAIN_TO_SRV(ch); 539 if (nptv6_find(ni, uc->name, uc->set) != NULL) { 557 if (ipfw_objhash_alloc_idx(ni, &cfg->no.kidx) != 0) { 562 ipfw_objhash_add(ni, &cfg->no); 807 struct namedobj_instance *ni; local 841 destroy_config_cb(struct namedobj_instance *ni, struct named_object *no, void *arg) argument [all...] |
/freebsd-11-stable/sys/netpfil/ipfw/nat64/ |
H A D | nat64lsn_control.c | 64 nat64lsn_find(struct namedobj_instance *ni, const char *name, uint8_t set) argument 68 cfg = (struct nat64lsn_cfg *)ipfw_objhash_lookup_name_type(ni, set, 118 struct namedobj_instance *ni; local 154 ni = CHAIN_TO_SRV(ch); 156 if (nat64lsn_find(ni, uc->name, uc->set) != NULL) { 198 if (nat64lsn_find(ni, uc->name, uc->set) != NULL) { 341 export_config_cb(struct namedobj_instance *ni, struct named_object *no, argument 409 struct namedobj_instance *ni; local 422 ni = CHAIN_TO_SRV(ch); 425 cfg = nat64lsn_find(ni, o 831 struct namedobj_instance *ni; local 864 destroy_config_cb(struct namedobj_instance *ni, struct named_object *no, void *arg) argument [all...] |