Searched refs:ni (Results 126 - 150 of 192) sorted by relevance

12345678

/freebsd-11-stable/lib/libnetgraph/
H A Dsock.c119 struct nodeinfo *const ni = (struct nodeinfo *) res.res.data; local
137 snprintf(namebuf, sizeof(namebuf), "[%lx]", (u_long) ni->id);
/freebsd-11-stable/contrib/ofed/infiniband-diags/src/
H A Dibtracert.c138 void *pi = port->portinfo, *ni = node->nodeinfo, *nd = node->nodedesc; local
141 memset(ni, 0, sizeof(node->nodeinfo));
142 if (!smp_query_via(ni, portid, IB_ATTR_NODE_INFO, 0, timeout, srcport))
160 mad_decode_field(ni, IB_NODE_GUID_F, &node->nodeguid);
161 mad_decode_field(ni, IB_NODE_TYPE_F, &node->type);
162 mad_decode_field(ni, IB_NODE_NPORTS_F, &node->numports);
164 mad_decode_field(ni, IB_NODE_PORT_GUID_F, &port->portguid);
165 mad_decode_field(ni, IB_NODE_LOCAL_PORT_F, &port->portnum);
H A Dsaquery.c148 ib_node_info_t *ni = &nr->node_info; local
150 cl_ntoh64(ni->node_guid),
170 ni->base_version, ni->class_version,
171 ib_get_node_type_str(ni->node_type), ni->num_ports,
172 cl_ntoh64(ni->sys_guid), cl_ntoh64(ni->node_guid),
173 cl_ntoh64(ni->port_guid), cl_ntoh16(ni
[all...]
H A Diblinkinfo.c597 uint8_t ni[IB_SMP_DATA_SIZE] = { 0 }; local
684 if (!smp_query_via(ni, &port_id, IB_ATTR_NODE_INFO, 0,
737 mad_decode_field(ni, IB_NODE_PORT_GUID_F, &(guid));
/freebsd-11-stable/sys/netpfil/ipfw/
H A Dip_dn_private.h257 struct dn_flow ni; /* oid, flow_id, stats */ member in struct:dn_queue
312 struct dn_flow ni; /* oid, flowid and stats */ member in struct:dn_sch_inst
H A Dip_fw_table_value.c62 static uint32_t hash_table_value(struct namedobj_instance *ni, const void *key,
92 hash_table_value(struct namedobj_instance *ni, const void *key, uint32_t kopt) argument
152 update_tvalue(struct namedobj_instance *ni, struct named_object *no, void *arg) argument
698 dump_tvalue(struct namedobj_instance *ni, struct named_object *no, void *arg) argument
791 destroy_value(struct namedobj_instance *ni, struct named_object *no, argument
H A Ddn_sched_fq_codel.c164 if (si->main_q.ni.length == 0) /* queue is now idle */
328 if (mainq->ni.length > schk->cfg.limit) { D("over limit");
451 set_oid(&q->ni.oid, DN_QUEUE, sizeof(*q));
/freebsd-11-stable/sys/dev/bnxt/
H A Dbnxt_sysctl.c876 bnxt_create_nvram_sysctls(struct bnxt_nvram_info *ni) argument
878 struct sysctl_oid *oid = ni->nvm_oid;
883 SYSCTL_ADD_U16(&ni->nvm_ctx, SYSCTL_CHILDREN(oid), OID_AUTO,
884 "mfg_id", CTLFLAG_RD, &ni->mfg_id, 0, "manufacturer id");
885 SYSCTL_ADD_U16(&ni->nvm_ctx, SYSCTL_CHILDREN(oid), OID_AUTO,
886 "device_id", CTLFLAG_RD, &ni->device_id, 0, "device id");
887 SYSCTL_ADD_U32(&ni->nvm_ctx, SYSCTL_CHILDREN(oid), OID_AUTO,
888 "sector_size", CTLFLAG_RD, &ni->sector_size, 0, "sector size");
889 SYSCTL_ADD_U32(&ni->nvm_ctx, SYSCTL_CHILDREN(oid), OID_AUTO,
890 "size", CTLFLAG_RD, &ni
[all...]
/freebsd-11-stable/tools/tools/net80211/stumbler/
H A Dstumbler.c501 struct node_info* ni = nodes; local
503 while (ni) {
504 if (ni->pos != -1)
505 ni->pos--;
507 display_node(ni);
508 ni = ni->next;
/freebsd-11-stable/sys/dev/usb/wlan/
H A Dif_urtw.c1000 if (dp->ni != NULL) {
1001 ieee80211_free_node(dp->ni);
1002 dp->ni = NULL;
1433 struct ieee80211_node *ni; local
1448 ni = (struct ieee80211_node *)m->m_pkthdr.rcvif;
1451 if (urtw_tx_start(sc, ni, m, bf, URTW_PRIORITY_NORMAL) != 0) {
1452 if_inc_counter(ni->ni_vap->iv_ifp,
1455 ieee80211_free_node(ni);
1488 dp->ni = NULL;
1539 urtw_raw_xmit(struct ieee80211_node *ni, struc argument
1664 urtw_tx_start(struct urtw_softc *sc, struct ieee80211_node *ni, struct mbuf *m0, struct urtw_data *data, int prior) argument
1853 struct ieee80211_node *ni; local
4049 struct ieee80211_node *ni; local
[all...]
H A Dif_rumvar.h67 struct ieee80211_node *ni; member in struct:rum_tx_data
H A Dif_urtwvar.h45 struct ieee80211_node *ni; /* NB: tx only */ member in struct:urtw_data
/freebsd-11-stable/sys/dev/iwi/
H A Dif_iwivar.h75 struct ieee80211_node *ni; member in struct:iwi_tx_data
/freebsd-11-stable/sys/netgraph/
H A Dng_base.c2597 struct nodeinfo *ni; local
2599 NG_MKRESPONSE(resp, msg, sizeof(*ni), M_NOWAIT);
2606 ni = (struct nodeinfo *) resp->data;
2608 strcpy(ni->name, NG_NODE_NAME(here));
2609 strcpy(ni->type, here->nd_type->name);
2610 ni->id = ng_node2ID(here);
2611 ni->hooks = here->nd_numhooks;
2618 struct nodeinfo *ni; local
2629 ni = &hl->nodeinfo;
2633 strcpy(ni
[all...]
/freebsd-11-stable/sys/dev/iwm/
H A Dif_iwm_power.c284 struct ieee80211_node *ni = &in->in_ni; local
301 dtimper_msec = dtimper * ni->ni_intval;
/freebsd-11-stable/sys/dev/iwn/
H A Dif_iwnvar.h102 struct ieee80211_node *ni; member in struct:iwn_tx_data
136 struct ieee80211_node ni; /* must be the first */ member in struct:iwn_node
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/
H A Dlstrlib.c948 LUA_INTFRM_T ni = (LUA_INTFRM_T)n; local
949 lua_Number diff = n - (lua_Number)ni;
953 nb = str_sprintf(buff, form, ni);
958 unsigned LUA_INTFRM_T ni = (unsigned LUA_INTFRM_T)n; local
959 lua_Number diff = n - (lua_Number)ni;
963 nb = str_sprintf(buff, form, ni);
/freebsd-11-stable/sys/dev/if_ndis/
H A Dif_ndis.c1773 ndis_raw_xmit(struct ieee80211_node *ni, struct mbuf *m, argument
1778 ieee80211_free_node(ni);
2481 struct ieee80211_node *ni = vap->iv_bss; local
2527 if (ni->ni_authmode == IEEE80211_AUTH_SHARED) {
2651 bcopy(ni->ni_bssid, bssid, len);
2666 ieee80211_print_essid(ni->ni_essid, ni->ni_esslen);
2673 ssid.ns_ssidlen = ni->ni_esslen;
2677 bcopy(ni->ni_essid, ssid.ns_ssid, ssid.ns_ssidlen);
2722 struct ieee80211_node *ni; local
2771 struct ieee80211_node *ni = vap->iv_bss; local
[all...]
/freebsd-11-stable/sys/net80211/
H A Dieee80211_proto.c249 null_raw_xmit(struct ieee80211_node *ni, struct mbuf *m, argument
253 ic_printf(ni->ni_ic, "missing ic_raw_xmit callback, drop frame\n");
630 ieee80211_fix_rate(struct ieee80211_node *ni, argument
633 struct ieee80211vap *vap = ni->ni_vap;
634 struct ieee80211com *ic = ni->ni_ic;
642 ucastrate = vap->iv_txparms[ieee80211_chan2mode(ni->ni_chan)].ucastrate;
677 ieee80211_get_suphtrates(ic, ni->ni_chan);
679 srs = ieee80211_get_suprates(ic, ni->ni_chan);
741 IEEE80211_NOTE(vap, IEEE80211_MSG_XRATE | IEEE80211_MSG_11N, ni,
H A Dieee80211_var.h582 #define IEEE80211_ATH_CAP(vap, ni, bit) \
583 ((vap)->iv_flags & (ni)->ni_ath_flags & (bit))
883 ieee80211_get_node_txpower(struct ieee80211_node *ni) argument
885 struct ieee80211com *ic = ni->ni_ic;
888 txpower = ni->ni_txpower;
/freebsd-11-stable/contrib/groff/src/utils/tfmtodit/
H A Dtfmtodit.cpp89 int ni; member in class:tfm
315 ni = read2(ptr);
320 if (6 + lh + (ec - bc + 1) + nw + nh + nd + ni + nl + nk + ne + np != lf) {
334 italic = new int[ni];
358 for (i = 0; i < ni; i++)
/freebsd-11-stable/contrib/ofed/opensm/opensm/
H A Dosm_node_info_rcv.c319 ib_node_info_t *ni; local
324 ni = ib_smp_get_payload_ptr(osm_madw_get_smp_ptr(madw));
326 port = ib_node_info_get_local_port_num(ni);
330 ib_node_info_get_vendor_id(ni),
331 ni->device_id);
H A Dosm_sm_mad_ctrl.c564 int ni = sprintf(ipath, "%d", p_smp->initial_path[0]); local
567 ni += sprintf(ipath + ni, ",%d", p_smp->initial_path[i]);
/freebsd-11-stable/sys/dev/ath/
H A Dif_ath_tx_edma.c771 struct ieee80211_node *ni; local
965 ni = bf->bf_node;
969 if (ni != NULL && ts.ts_status == 0 &&
/freebsd-11-stable/contrib/lua/src/
H A Dltable.c99 lua_Integer ni; local
101 if (!lua_numbertointeger(n, &ni)) { /* is 'n' inf/-inf/NaN? */
106 unsigned int u = cast(unsigned int, i) + cast(unsigned int, ni);

Completed in 523 milliseconds

12345678