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

/freebsd-9.3-release/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-9.3-release/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-9.3-release/usr.sbin/bsnmpd/modules/snmp_bridge/
H A Dbridge_pf.c86 op, &(ctx->scratch->int1));
93 ctx->scratch->int1 =
H A Dbridge_if.c764 ctx->scratch->int1 = bif->priority;
774 ctx->scratch->int1 = bif->bridge_max_age;
784 ctx->scratch->int1 = bif->bridge_hello_time;
794 ctx->scratch->int1 = bif->bridge_fwd_delay;
804 ctx->scratch->int1 = bif->stp_version;
814 ctx->scratch->int1 = bif->tx_hold_count;
836 bridge_set_priority(bif, ctx->scratch->int1);
839 bridge_set_maxage(bif, ctx->scratch->int1);
842 bridge_set_hello_time(bif, ctx->scratch->int1);
845 bridge_set_forward_delay(bif, ctx->scratch->int1);
[all...]
H A Dbridge_snmp.c153 if ((ctx->scratch->int1 = strlen(bridge_default)) >= IFNAMSIZ)
159 strncpy(ctx->scratch->ptr1, bridge_default, ctx->scratch->int1);
207 ctx->scratch->int1 = bridge_data_maxage;
215 ctx->scratch->int1 = val->v.integer;
224 ctx->scratch->int1);
228 bridge_data_maxage = ctx->scratch->int1;
239 bridge_set_poll_ticks(ctx->scratch->int1 * 100);
H A Dbridge_port.c463 ctx->scratch->int1 = bp->priority;
474 ctx->scratch->int1 = bp->enable;
485 ctx->scratch->int1 = bp->path_cost;
509 ctx->scratch->int1);
513 ctx->scratch->int1);
517 ctx->scratch->int1);
622 ctx->scratch->int1 = bp->admin_edge;
633 ctx->scratch->int1 = bp->admin_ptp;
644 ctx->scratch->int1 = bp->admin_path_cost;
665 ctx->scratch->int1);
[all...]
/freebsd-9.3-release/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-9.3-release/usr.sbin/bsnmpd/modules/snmp_wlan/
H A Dwlan_snmp.c280 ctx->scratch->int1 = wif->mode;
321 ctx->scratch->int1 = wif->status;
326 wif->status = ctx->scratch->int1;
336 ctx->scratch->int1 = wif->state;
360 wif->mode = ctx->scratch->int1;
382 wif->status = ctx->scratch->int1;
383 if (ctx->scratch->int1 == RowStatus_active)
390 wif->state = ctx->scratch->int1;
531 ctx->scratch->int1 = wif->packet_burst;
534 ctx->scratch->int1
[all...]
/freebsd-9.3-release/contrib/bsnmp/snmpd/
H A Daction.c396 ctx->scratch->int1 = debug.dump_pdus;
401 ctx->scratch->int1 = snmp_trace;
408 ctx->scratch->int1 = debug.logpri;
418 debug.dump_pdus = ctx->scratch->int1;
422 snmp_trace = ctx->scratch->int1;
426 debug.logpri = ctx->scratch->int1;
566 ctx->scratch->int1 = value->v.integer;
575 snmpd.auth_traps = ctx->scratch->int1;
673 ctx->scratch->int1 = snmpd.txbuf;
681 ctx->scratch->int1
[all...]
H A Dexport.c151 * Save the old IP address in scratch->int1 and set the new one.
156 ctx->scratch->int1 = (valp[0] << 24) | (valp[1] << 16) | (valp[2] << 8)
173 valp[0] = ctx->scratch->int1 >> 24;
174 valp[1] = ctx->scratch->int1 >> 16;
175 valp[2] = ctx->scratch->int1 >> 8;
176 valp[3] = ctx->scratch->int1;
H A Dtrans_udp.c251 ctx->scratch->int1 = (p != NULL);
278 if (ctx->scratch->int1 == 0) {
291 if (ctx->scratch->int1 == 1) {
/freebsd-9.3-release/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-9.3-release/contrib/bsnmp/lib/
H A Dsnmpagent.h59 uint32_t int1; member in struct:snmp_scratch
/freebsd-9.3-release/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-9.3-release/contrib/bsnmp/snmp_usm/
H A Dusm_snmp.c201 ctx->scratch->int1 = RowStatus_createAndWait;
205 ctx->scratch->int1 = uuser->suser.auth_proto;
238 ctx->scratch->int1 = uuser->suser.priv_proto;
349 uuser->suser.auth_proto = ctx->scratch->int1;
358 uuser->suser.priv_proto = ctx->scratch->int1;
380 if (ctx->scratch->int1 == RowStatus_createAndWait)
/freebsd-9.3-release/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-9.3-release/usr.sbin/route6d/
H A Droute6d.c628 const int int0 = 0, int1 = 1, int255 = 255; local
659 &int1, sizeof(int1)) < 0) {
681 &int1, sizeof(int1)) < 0) {
687 &int1, sizeof(int1)) < 0) {
695 &int1, sizeof(int1)) < 0) {
701 &int1, sizeo
[all...]

Completed in 320 milliseconds