Home
last modified time | relevance | path

Searched refs:mpctl (Results 1 – 9 of 9) sorted by relevance

/illumos-gate/usr/src/uts/common/inet/
H A Dsnmpcom.c170 mblk_t *mpctl; in snmpcom_req() local
239 if (!mpctl) { in snmpcom_req()
244 if (!mpctl->b_cont) { in snmpcom_req()
245 freemsg(mpctl); in snmpcom_req()
249 mpctl->b_datap->db_type = M_PROTO; in snmpcom_req()
250 mpctl->b_wptr += TOAHDR_SIZE; in snmpcom_req()
268 freemsg(mpctl); in snmpcom_req()
283 if (!mpctl) { in snmpcom_req()
287 mpctl->b_datap->db_type = M_PROTO; in snmpcom_req()
288 mpctl->b_wptr = mpctl->b_rptr + TOAHDR_SIZE; in snmpcom_req()
[all …]
H A Drawip_impl.h101 extern mblk_t *icmp_snmp_get(queue_t *q, mblk_t *mpctl);
/illumos-gate/usr/src/uts/common/inet/udp/
H A Dudp_stats.c94 mp2ctl = copymsg(mpctl); in udp_snmp_get()
102 if (mpctl == NULL || in udp_snmp_get()
103 (mpdata = mpctl->b_cont) == NULL || in udp_snmp_get()
104 (mp_conn_ctl = copymsg(mpctl)) == NULL || in udp_snmp_get()
105 (mp_attr_ctl = copymsg(mpctl)) == NULL || in udp_snmp_get()
106 (mp_info_ctl = copymsg(mpctl)) == NULL || in udp_snmp_get()
107 (mp6_conn_ctl = copymsg(mpctl)) == NULL || in udp_snmp_get()
108 (mp6_attr_ctl = copymsg(mpctl)) == NULL || in udp_snmp_get()
109 (mp6_info_ctl = copymsg(mpctl)) == NULL) { in udp_snmp_get()
116 freemsg(mpctl); in udp_snmp_get()
[all …]
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip_dce.c895 mp2ctl = copymsg(mpctl); in ip_snmp_get_mib2_ip_dce()
898 optp = (struct opthdr *)&mpctl->b_rptr[ in ip_snmp_get_mib2_ip_dce()
917 if (!snmp_append_data2(mpctl->b_cont, &mp_tail, in ip_snmp_get_mib2_ip_dce()
926 optp->len = (t_uscalar_t)msgdsize(mpctl->b_cont); in ip_snmp_get_mib2_ip_dce()
929 qreply(q, mpctl); in ip_snmp_get_mib2_ip_dce()
937 mpctl = mp2ctl; in ip_snmp_get_mib2_ip_dce()
939 mp2ctl = copymsg(mpctl); in ip_snmp_get_mib2_ip_dce()
940 optp = (struct opthdr *)&mpctl->b_rptr[ in ip_snmp_get_mib2_ip_dce()
962 if (!snmp_append_data2(mpctl->b_cont, &mp_tail, in ip_snmp_get_mib2_ip_dce()
971 optp->len = (t_uscalar_t)msgdsize(mpctl->b_cont); in ip_snmp_get_mib2_ip_dce()
[all …]
H A Dip.c9657 if (mpctl == NULL || mpctl->b_cont == NULL) { in ip_snmp_get()
9671 if ((mpctl = icmp_snmp_get(q, mpctl)) == NULL) { in ip_snmp_get()
9677 if ((mpctl = udp_snmp_get(q, mpctl, legacy_req)) == NULL) { in ip_snmp_get()
9686 if ((mpctl = tcp_snmp_get(q, mpctl, legacy_req)) == NULL) { in ip_snmp_get()
9694 if ((mpctl = ip_snmp_get_mib2_ip_traffic_stats(q, mpctl, in ip_snmp_get()
9699 if ((mpctl = ip_snmp_get_mib2_ip6(q, mpctl, ipst, in ip_snmp_get()
9704 if ((mpctl = ip_snmp_get_mib2_icmp(q, mpctl, ipst)) == NULL) { in ip_snmp_get()
9720 if ((mpctl = ip_snmp_get_mib2_ip_addr(q, mpctl, ipst, in ip_snmp_get()
9725 if ((mpctl = ip_snmp_get_mib2_ip6_addr(q, mpctl, ipst, in ip_snmp_get()
9762 if ((mpctl = sctp_snmp_get_mib2(q, mpctl, sctps)) == NULL) { in ip_snmp_get()
[all …]
H A Dicmp.c2848 icmp_snmp_get(queue_t *q, mblk_t *mpctl) in icmp_snmp_get() argument
2859 mp2ctl = copymsg(mpctl); in icmp_snmp_get()
2861 if (mpctl == NULL || in icmp_snmp_get()
2862 (mpdata = mpctl->b_cont) == NULL) { in icmp_snmp_get()
2863 freemsg(mpctl); in icmp_snmp_get()
2869 optp = (struct opthdr *)&mpctl->b_rptr[sizeof (struct T_optmgmt_ack)]; in icmp_snmp_get()
2875 qreply(q, mpctl); in icmp_snmp_get()
/illumos-gate/usr/src/uts/common/inet/tcp/
H A Dtcp_stats.c179 mp2ctl = copymsg(mpctl); in tcp_snmp_get()
181 if (mpctl == NULL || in tcp_snmp_get()
182 (mpdata = mpctl->b_cont) == NULL || in tcp_snmp_get()
183 (mp_conn_ctl = copymsg(mpctl)) == NULL || in tcp_snmp_get()
184 (mp_attr_ctl = copymsg(mpctl)) == NULL || in tcp_snmp_get()
185 (mp_info_ctl = copymsg(mpctl)) == NULL || in tcp_snmp_get()
186 (mp6_conn_ctl = copymsg(mpctl)) == NULL || in tcp_snmp_get()
187 (mp6_attr_ctl = copymsg(mpctl)) == NULL || in tcp_snmp_get()
188 (mp6_info_ctl = copymsg(mpctl)) == NULL) { in tcp_snmp_get()
195 freemsg(mpctl); in tcp_snmp_get()
[all …]
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_snmp.c530 sctp_snmp_get_mib2(queue_t *q, mblk_t *mpctl, sctp_stack_t *sctps) in sctp_snmp_get_mib2() argument
570 mp_ret = copymsg(mpctl); in sctp_snmp_get_mib2()
571 mp_conn_ctl = copymsg(mpctl); in sctp_snmp_get_mib2()
572 mp_local_ctl = copymsg(mpctl); in sctp_snmp_get_mib2()
573 mp_rem_ctl = copymsg(mpctl); in sctp_snmp_get_mib2()
574 mp_attr_ctl = copymsg(mpctl); in sctp_snmp_get_mib2()
575 mp_info_ctl = copymsg(mpctl); in sctp_snmp_get_mib2()
577 mpdata = mpctl->b_cont; in sctp_snmp_get_mib2()
588 freemsg(mpctl); in sctp_snmp_get_mib2()
843 optp = (struct opthdr *)&mpctl->b_rptr[sizeof (struct T_optmgmt_ack)]; in sctp_snmp_get_mib2()
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Dstrsubr.c2767 mblk_t *mpctl = NULL; in strmakemsg() local
2776 error = strmakectl(mctl, flag, uiop->uio_fmode, &mpctl); in strmakemsg()
2784 freemsg(mpctl); in strmakemsg()
2788 if (mpctl != NULL) { in strmakemsg()
2790 linkb(mpctl, mpdata); in strmakemsg()
2791 *mpp = mpctl; in strmakemsg()