Home
last modified time | relevance | path

Searched refs:toa (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/uts/common/inet/
H A Dsnmpcom.c177 struct T_optmgmt_ack *toa; in snmpcom_req() local
251 toa = (struct T_optmgmt_ack *)mpctl->b_rptr; in snmpcom_req()
252 toa->PRIM_type = T_OPTMGMT_ACK; in snmpcom_req()
253 toa->OPT_offset = sizeof (struct T_optmgmt_ack); in snmpcom_req()
254 toa->OPT_length = sizeof (struct opthdr); in snmpcom_req()
255 toa->MGMT_flags = T_SUCCESS; in snmpcom_req()
289 toa = (struct T_optmgmt_ack *)mpctl->b_rptr; in snmpcom_req()
290 toa->PRIM_type = T_OPTMGMT_ACK; in snmpcom_req()
292 toa->OPT_length = sizeof (struct opthdr); in snmpcom_req()
293 toa->MGMT_flags = T_SUCCESS; in snmpcom_req()
[all …]
H A Doptcom.c197 struct T_optmgmt_ack *toa; in svr4_optcom_req() local
251 toa->PRIM_type = T_OPTMGMT_ACK; in svr4_optcom_req()
254 toa->MGMT_flags = T_DEFAULT; in svr4_optcom_req()
257 opt = (struct opthdr *)&toa[1]; in svr4_optcom_req()
316 toa->OPT_length = (t_scalar_t)((char *)opt - (char *)&toa[1]); in svr4_optcom_req()
418 opt1 = (struct opthdr *)&toa[1]; in svr4_optcom_req()
445 (uchar_t *)&toa[1]); in svr4_optcom_req()
502 toa->MGMT_flags = T_SUCCESS; in svr4_optcom_req()
504 toa->PRIM_type = T_OPTMGMT_ACK; in svr4_optcom_req()
520 struct T_optmgmt_ack *toa; in tpi_optcom_req() local
[all …]
/illumos-gate/usr/src/cmd/rpcsvc/rpc.bootparamd/
H A Dbootparam_ip_route.c78 struct T_optmgmt_ack *toa = (struct T_optmgmt_ack *)(void *)buf; in mibget() local
107 req = (struct opthdr *)&toa[1]; in mibget()
128 (toa->PRIM_type == T_OPTMGMT_ACK) && in mibget()
129 (toa->MGMT_flags == T_SUCCESS) && in mibget()
150 toa->PRIM_type != T_OPTMGMT_ACK || in mibget()
151 toa->MGMT_flags != T_SUCCESS) { in mibget()
154 j, getcode, ctlbuf.len, toa->PRIM_type); in mibget()
155 if (toa->PRIM_type == T_OPTMGMT_ACK) in mibget()
158 toa->MGMT_flags, req->len); in mibget()
/illumos-gate/usr/src/cmd/rpcsvc/
H A Drstat_proc.c447 struct T_optmgmt_ack *toa = (struct T_optmgmt_ack *)buf; in mibget() local
476 req = (struct opthdr *)&toa[1]; in mibget()
498 (toa->PRIM_type == T_OPTMGMT_ACK) && in mibget()
499 (toa->MGMT_flags == T_SUCCESS) && in mibget()
523 (toa->PRIM_type != T_OPTMGMT_ACK) || in mibget()
524 (toa->MGMT_flags != T_SUCCESS)) { in mibget()
528 j, getcode, ctlbuf.len, toa->PRIM_type); in mibget()
529 if (toa->PRIM_type == T_OPTMGMT_ACK) in mibget()
532 toa->MGMT_flags, req->len); in mibget()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Droute.c3064 struct T_optmgmt_ack *toa = (struct T_optmgmt_ack *)buf; in mibget() local
3093 req = (struct opthdr *)&toa[1]; in mibget()
3116 toa->PRIM_type == T_OPTMGMT_ACK && in mibget()
3117 toa->MGMT_flags == T_SUCCESS && in mibget()
3139 toa->PRIM_type != T_OPTMGMT_ACK || in mibget()
3140 toa->MGMT_flags != T_SUCCESS) { in mibget()
3143 j, getcode, ctlbuf.len, toa->PRIM_type); in mibget()
3144 if (toa->PRIM_type == T_OPTMGMT_ACK) { in mibget()
3147 toa->MGMT_flags, req->len); in mibget()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.mpathd/
H A Dmpd_main.c2918 struct T_optmgmt_ack *toa = (struct T_optmgmt_ack *)buf; in mibwalk() local
2978 switch (toa->PRIM_type) { in mibwalk()
2991 optp = (struct opthdr *)&toa[1]; in mibwalk()
2998 if (toa->MGMT_flags != T_SUCCESS) { in mibwalk()
3000 "0x%lx\n", toa->MGMT_flags); in mibwalk()
3009 assert(toa->PRIM_type == T_OPTMGMT_ACK); in mibwalk()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/netstat/
H A Dnetstat.c1138 struct T_optmgmt_ack *toa = (struct T_optmgmt_ack *)buf; in mibget() local
1173 req = (struct opthdr *)&toa[1]; in mibget()
1197 toa->PRIM_type == T_OPTMGMT_ACK && in mibget()
1198 toa->MGMT_flags == T_SUCCESS && in mibget()
1221 toa->PRIM_type != T_OPTMGMT_ACK || in mibget()
1222 toa->MGMT_flags != T_SUCCESS) { in mibget()
1225 j, getcode, ctlbuf.len, toa->PRIM_type); in mibget()
1227 if (toa->PRIM_type == T_OPTMGMT_ACK) in mibget()
1230 toa->MGMT_flags, req->len); in mibget()