Searched refs:int1 (Results 1 - 20 of 20) sorted by relevance

/freebsd-11-stable/usr.sbin/bsnmpd/modules/snmp_hostres/
H A Dhostres_begemot.c85 ctx->scratch->int1 = storage_tbl_refresh;
90 ctx->scratch->int1 = fs_tbl_refresh;
95 ctx->scratch->int1 = disk_storage_tbl_refresh;
100 ctx->scratch->int1 = network_tbl_refresh;
105 ctx->scratch->int1 = swins_tbl_refresh;
110 ctx->scratch->int1 = swrun_tbl_refresh;
140 storage_tbl_refresh = ctx->scratch->int1;
144 fs_tbl_refresh = ctx->scratch->int1;
148 disk_storage_tbl_refresh = ctx->scratch->int1;
152 network_tbl_refresh = ctx->scratch->int1;
[all...]
/freebsd-11-stable/contrib/bsnmp/snmp_mibII/
H A DmibII_begemot.c59 ctx->scratch->int1 = mibif_force_hc_update_interval;
64 ctx->scratch->int1 = mibII_poll_ticks;
74 mibif_force_hc_update_interval = ctx->scratch->int1;
78 mibII_poll_ticks = ctx->scratch->int1;
87 mibif_force_hc_update_interval = ctx->scratch->int1;
H A DmibII_ip.c172 ctx->scratch->int1 = ip_forwarding ? 1 : 2;
177 ctx->scratch->int1 = old ? 1 : 2;
181 ctx->scratch->int1 = old;
187 ctx->scratch->int1 = ip_defttl;
194 ctx->scratch->int1 = old;
203 if (ctx->scratch->int1 == 1) {
213 if (ctx->scratch->int1 != ctx->scratch->int2)
214 (void)ip_setttl(ctx->scratch->int1, NULL);
/freebsd-11-stable/usr.sbin/bsnmpd/modules/snmp_bridge/
H A Dbridge_pf.c88 op, &(ctx->scratch->int1));
95 ctx->scratch->int1 =
H A Dbridge_if.c766 ctx->scratch->int1 = bif->priority;
776 ctx->scratch->int1 = bif->bridge_max_age;
786 ctx->scratch->int1 = bif->bridge_hello_time;
796 ctx->scratch->int1 = bif->bridge_fwd_delay;
806 ctx->scratch->int1 = bif->stp_version;
816 ctx->scratch->int1 = bif->tx_hold_count;
838 bridge_set_priority(bif, ctx->scratch->int1);
841 bridge_set_maxage(bif, ctx->scratch->int1);
844 bridge_set_hello_time(bif, ctx->scratch->int1);
847 bridge_set_forward_delay(bif, ctx->scratch->int1);
[all...]
H A Dbridge_snmp.c155 if ((ctx->scratch->int1 = strlen(bridge_default)) >= IFNAMSIZ)
161 strncpy(ctx->scratch->ptr1, bridge_default, ctx->scratch->int1);
209 ctx->scratch->int1 = bridge_data_maxage;
217 ctx->scratch->int1 = val->v.integer;
226 ctx->scratch->int1);
230 bridge_data_maxage = ctx->scratch->int1;
241 bridge_set_poll_ticks(ctx->scratch->int1 * 100);
H A Dbridge_port.c465 ctx->scratch->int1 = bp->priority;
476 ctx->scratch->int1 = bp->enable;
487 ctx->scratch->int1 = bp->path_cost;
511 ctx->scratch->int1);
515 ctx->scratch->int1);
519 ctx->scratch->int1);
624 ctx->scratch->int1 = bp->admin_edge;
635 ctx->scratch->int1 = bp->admin_ptp;
646 ctx->scratch->int1 = bp->admin_path_cost;
667 ctx->scratch->int1);
[all...]
/freebsd-11-stable/contrib/bsnmp/snmp_target/
H A Dtarget_snmp.c180 ctx->scratch->int1 = strlen(addrs->taglist) + 1;
181 ctx->scratch->ptr1 = malloc(ctx->scratch->int1);
185 ctx->scratch->int1);
194 ctx->scratch->int1 = strlen(addrs->paramname) + 1;
195 ctx->scratch->ptr1 = malloc(ctx->scratch->int1);
199 ctx->scratch->int1);
206 ctx->scratch->int1 = addrs->retry;
211 ctx->scratch->int1 = addrs->timeout;
228 ctx->scratch->int1 = addrs->status;
279 ctx->scratch->int1);
[all...]
/freebsd-11-stable/usr.sbin/bsnmpd/modules/snmp_wlan/
H A Dwlan_snmp.c282 ctx->scratch->int1 = wif->mode;
323 ctx->scratch->int1 = wif->status;
328 wif->status = ctx->scratch->int1;
338 ctx->scratch->int1 = wif->state;
362 wif->mode = ctx->scratch->int1;
384 wif->status = ctx->scratch->int1;
385 if (ctx->scratch->int1 == RowStatus_active)
392 wif->state = ctx->scratch->int1;
533 ctx->scratch->int1 = wif->packet_burst;
536 ctx->scratch->int1
[all...]
/freebsd-11-stable/contrib/bsnmp/snmpd/
H A Daction.c389 ctx->scratch->int1 = debug.dump_pdus;
394 ctx->scratch->int1 = snmp_trace;
401 ctx->scratch->int1 = debug.logpri;
411 debug.dump_pdus = ctx->scratch->int1;
415 snmp_trace = ctx->scratch->int1;
419 debug.logpri = ctx->scratch->int1;
559 ctx->scratch->int1 = value->v.integer;
568 snmpd.auth_traps = ctx->scratch->int1;
666 ctx->scratch->int1 = snmpd.txbuf;
674 ctx->scratch->int1
[all...]
H A Dexport.c155 * Save the old IP address in scratch->int1 and set the new one.
160 ctx->scratch->int1 = (valp[0] << 24) | (valp[1] << 16) | (valp[2] << 8)
177 valp[0] = ctx->scratch->int1 >> 24;
178 valp[1] = ctx->scratch->int1 >> 16;
179 valp[2] = ctx->scratch->int1 >> 8;
180 valp[3] = ctx->scratch->int1;
H A Dtrans_udp.c370 ctx->scratch->int1 = (p != NULL);
397 if (ctx->scratch->int1 == 0) {
410 if (ctx->scratch->int1 == 1) {
/freebsd-11-stable/contrib/bsnmp/snmp_vacm/
H A Dvacm_snmp.c174 ctx->scratch->int1 = strlen(user->group->groupname);
198 ctx->scratch->int1 = user->status;
228 ctx->scratch->int1));
231 if (ctx->scratch->int1 == RowStatus_destroy)
233 user->status = ctx->scratch->int1;
291 ctx->scratch->int1 = acl->ctx_match;
349 ctx->scratch->int1 = acl->status;
371 acl->ctx_match = ctx->scratch->int1;
383 if (ctx->scratch->int1 == RowStatus_destroy)
505 ctx->scratch->int1
[all...]
/freebsd-11-stable/contrib/bsnmp/lib/
H A Dsnmpagent.h59 uint32_t int1; member in struct:snmp_scratch
/freebsd-11-stable/usr.sbin/bsnmpd/modules/snmp_netgraph/
H A Dsnmp_netgraph.c1038 ctx->scratch->int1 = resbufsiz;
1046 ctx->scratch->int1 = timeout;
1054 ctx->scratch->int1 = debug_level;
1072 resbufsiz = ctx->scratch->int1;
1076 timeout = ctx->scratch->int1;
1080 debug_level = ctx->scratch->int1;
1265 ctx->scratch->int1 = TRUTH_GET(value->v.integer);
1266 ctx->scratch->int1 |= (t != NULL) << 1;
1272 if (ctx->scratch->int1 & 1) {
1284 if (!(ctx->scratch->int1
[all...]
/freebsd-11-stable/contrib/bsnmp/snmp_usm/
H A Dusm_snmp.c205 ctx->scratch->int1 = RowStatus_createAndWait;
209 ctx->scratch->int1 = uuser->suser.auth_proto;
242 ctx->scratch->int1 = uuser->suser.priv_proto;
353 uuser->suser.auth_proto = ctx->scratch->int1;
362 uuser->suser.priv_proto = ctx->scratch->int1;
384 if (ctx->scratch->int1 == RowStatus_createAndWait)
/freebsd-11-stable/contrib/bsnmp/snmp_ntp/
H A Dsnmp_ntp.c1546 ctx->scratch->int1 = ntp_timeout;
1553 ctx->scratch->int1 = ntp_debug;
1571 ntp_timeout = ctx->scratch->int1;
1575 ntp_debug = ctx->scratch->int1;
/freebsd-11-stable/usr.sbin/route6d/
H A Droute6d.c609 const int int0 = 0, int1 = 1, int255 = 255; local
640 &int1, sizeof(int1)) < 0) {
662 &int1, sizeof(int1)) < 0) {
668 &int1, sizeof(int1)) < 0) {
676 &int1, sizeof(int1)) < 0) {
682 &int1, sizeo
[all...]
/freebsd-11-stable/contrib/wpa/wpa_supplicant/dbus/
H A Ddbus_new_handlers_p2p.c265 unsigned int dur1 = 0, int1 = 0, dur2 = 0, int2 = 0; local
285 int1 = entry.uint32_value;
298 if (wpas_p2p_presence_req(wpa_s, dur1, int1, dur2, int2) < 0)
/freebsd-11-stable/contrib/wpa/wpa_supplicant/
H A Dctrl_iface.c6922 unsigned int dur1 = 0, int1 = 0, dur2 = 0, int2 = 0; local
6934 int1 = atoi(pos);
6947 return wpas_p2p_presence_req(wpa_s, dur1, int1, dur2, int2);

Completed in 217 milliseconds