Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/inet/
H A Dsnmpcom.c170 mblk_t *mpctl; in snmpcom_req() local
238 mpctl = allocb(TOAHDR_SIZE, BPRI_MED); in snmpcom_req()
239 if (!mpctl) { in snmpcom_req()
243 mpctl->b_cont = allocb(DATA_MBLK_SIZE, BPRI_MED); 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()
251 toa = (struct T_optmgmt_ack *)mpctl->b_rptr; in snmpcom_req()
267 if (!(*getfn)(q, mpctl, req_start->level, legacy_req)) in snmpcom_req()
[all …]
H A Drawip_impl.h101 extern mblk_t *icmp_snmp_get(queue_t *q, mblk_t *mpctl);
/titanic_41/usr/src/uts/common/inet/udp/
H A Dudp_stats.c51 udp_snmp_get(queue_t *q, mblk_t *mpctl, boolean_t legacy_req) in udp_snmp_get() argument
85 mp2ctl = copymsg(mpctl); in udp_snmp_get()
88 if (mpctl == NULL || in udp_snmp_get()
89 (mpdata = mpctl->b_cont) == NULL || in udp_snmp_get()
90 (mp_conn_ctl = copymsg(mpctl)) == NULL || in udp_snmp_get()
91 (mp_attr_ctl = copymsg(mpctl)) == NULL || in udp_snmp_get()
92 (mp6_conn_ctl = copymsg(mpctl)) == NULL || in udp_snmp_get()
93 (mp6_attr_ctl = copymsg(mpctl)) == NULL) { in udp_snmp_get()
97 freemsg(mpctl); in udp_snmp_get()
130 optp = (struct opthdr *)&mpctl->b_rptr[sizeof (struct T_optmgmt_ack)]; in udp_snmp_get()
[all …]
/titanic_41/usr/src/uts/common/inet/ip/
H A Dip_dce.c849 ip_snmp_get_mib2_ip_dce(queue_t *q, mblk_t *mpctl, ip_stack_t *ipst) in ip_snmp_get_mib2_ip_dce() argument
865 mp2ctl = copymsg(mpctl); in ip_snmp_get_mib2_ip_dce()
868 optp = (struct opthdr *)&mpctl->b_rptr[ in ip_snmp_get_mib2_ip_dce()
887 if (!snmp_append_data2(mpctl->b_cont, &mp_tail, in ip_snmp_get_mib2_ip_dce()
896 optp->len = (t_uscalar_t)msgdsize(mpctl->b_cont); in ip_snmp_get_mib2_ip_dce()
899 qreply(q, mpctl); in ip_snmp_get_mib2_ip_dce()
907 mpctl = mp2ctl; in ip_snmp_get_mib2_ip_dce()
909 mp2ctl = copymsg(mpctl); in ip_snmp_get_mib2_ip_dce()
910 optp = (struct opthdr *)&mpctl->b_rptr[ in ip_snmp_get_mib2_ip_dce()
932 if (!snmp_append_data2(mpctl->b_cont, &mp_tail, in ip_snmp_get_mib2_ip_dce()
[all …]
H A Dip.c9606 ip_snmp_get(queue_t *q, mblk_t *mpctl, int level, boolean_t legacy_req) in ip_snmp_get() argument
9619 if (mpctl == NULL || mpctl->b_cont == NULL) { in ip_snmp_get()
9633 if ((mpctl = icmp_snmp_get(q, mpctl)) == NULL) { in ip_snmp_get()
9639 if ((mpctl = udp_snmp_get(q, mpctl, legacy_req)) == NULL) { in ip_snmp_get()
9645 if ((mpctl = tcp_snmp_get(q, mpctl, legacy_req)) == NULL) { in ip_snmp_get()
9650 if ((mpctl = ip_snmp_get_mib2_ip_traffic_stats(q, mpctl, in ip_snmp_get()
9655 if ((mpctl = ip_snmp_get_mib2_ip6(q, mpctl, ipst, in ip_snmp_get()
9660 if ((mpctl = ip_snmp_get_mib2_icmp(q, mpctl, ipst)) == NULL) { in ip_snmp_get()
9664 if ((mpctl = ip_snmp_get_mib2_icmp6(q, mpctl, ipst)) == NULL) { in ip_snmp_get()
9668 if ((mpctl = ip_snmp_get_mib2_igmp(q, mpctl, ipst)) == NULL) { in ip_snmp_get()
[all …]
H A Dicmp.c2841 icmp_snmp_get(queue_t *q, mblk_t *mpctl) in icmp_snmp_get() argument
2852 mp2ctl = copymsg(mpctl); in icmp_snmp_get()
2854 if (mpctl == NULL || in icmp_snmp_get()
2855 (mpdata = mpctl->b_cont) == NULL) { in icmp_snmp_get()
2856 freemsg(mpctl); in icmp_snmp_get()
2862 optp = (struct opthdr *)&mpctl->b_rptr[sizeof (struct T_optmgmt_ack)]; in icmp_snmp_get()
2868 qreply(q, mpctl); in icmp_snmp_get()
/titanic_41/usr/src/uts/common/inet/tcp/
H A Dtcp_stats.c93 tcp_snmp_get(queue_t *q, mblk_t *mpctl, boolean_t legacy_req) in tcp_snmp_get() argument
124 mp2ctl = copymsg(mpctl); in tcp_snmp_get()
126 if (mpctl == NULL || in tcp_snmp_get()
127 (mpdata = mpctl->b_cont) == NULL || in tcp_snmp_get()
128 (mp_conn_ctl = copymsg(mpctl)) == NULL || in tcp_snmp_get()
129 (mp_attr_ctl = copymsg(mpctl)) == NULL || in tcp_snmp_get()
130 (mp6_conn_ctl = copymsg(mpctl)) == NULL || in tcp_snmp_get()
131 (mp6_attr_ctl = copymsg(mpctl)) == NULL) { in tcp_snmp_get()
136 freemsg(mpctl); in tcp_snmp_get()
376 optp = (struct opthdr *)&mpctl->b_rptr[sizeof (struct T_optmgmt_ack)]; in tcp_snmp_get()
[all …]
/titanic_41/usr/src/uts/common/inet/sctp/
H A Dsctp_snmp.c525 sctp_snmp_get_mib2(queue_t *q, mblk_t *mpctl, sctp_stack_t *sctps) in sctp_snmp_get_mib2() argument
561 mp_ret = copymsg(mpctl); in sctp_snmp_get_mib2()
562 mp_conn_ctl = copymsg(mpctl); in sctp_snmp_get_mib2()
563 mp_local_ctl = copymsg(mpctl); in sctp_snmp_get_mib2()
564 mp_rem_ctl = copymsg(mpctl); in sctp_snmp_get_mib2()
565 mp_attr_ctl = copymsg(mpctl); in sctp_snmp_get_mib2()
567 mpdata = mpctl->b_cont; in sctp_snmp_get_mib2()
576 freemsg(mpctl); in sctp_snmp_get_mib2()
821 optp = (struct opthdr *)&mpctl->b_rptr[sizeof (struct T_optmgmt_ack)]; in sctp_snmp_get_mib2()
826 qreply(q, mpctl); in sctp_snmp_get_mib2()
/titanic_41/usr/src/uts/common/os/
H A Dstrsubr.c2742 mblk_t *mpctl = NULL; in strmakemsg() local
2751 error = strmakectl(mctl, flag, uiop->uio_fmode, &mpctl); in strmakemsg()
2759 freemsg(mpctl); in strmakemsg()
2763 if (mpctl != NULL) { in strmakemsg()
2765 linkb(mpctl, mpdata); in strmakemsg()
2766 *mpp = mpctl; in strmakemsg()