Searched refs:mpctl (Results 1 - 10 of 10) sorted by relevance

/opensolaris-onvv-gate/usr/src/uts/common/inet/
H A Dsnmpcom.c170 mblk_t *mpctl; local
238 mpctl = allocb(TOAHDR_SIZE, BPRI_MED);
239 if (!mpctl) {
243 mpctl->b_cont = allocb(DATA_MBLK_SIZE, BPRI_MED);
244 if (!mpctl->b_cont) {
245 freemsg(mpctl);
249 mpctl->b_datap->db_type = M_PROTO;
250 mpctl->b_wptr += TOAHDR_SIZE;
251 toa = (struct T_optmgmt_ack *)mpctl->b_rptr;
267 if (!(*getfn)(q, mpctl, req_star
[all...]
H A Drawip_impl.h101 extern mblk_t *icmp_snmp_get(queue_t *q, mblk_t *mpctl);
/opensolaris-onvv-gate/usr/src/uts/common/inet/udp/
H A Dudp_stats.c51 udp_snmp_get(queue_t *q, mblk_t *mpctl, boolean_t legacy_req) argument
85 mp2ctl = copymsg(mpctl);
88 if (mpctl == NULL ||
89 (mpdata = mpctl->b_cont) == NULL ||
90 (mp_conn_ctl = copymsg(mpctl)) == NULL ||
91 (mp_attr_ctl = copymsg(mpctl)) == NULL ||
92 (mp6_conn_ctl = copymsg(mpctl)) == NULL ||
93 (mp6_attr_ctl = copymsg(mpctl)) == NULL) {
97 freemsg(mpctl);
130 optp = (struct opthdr *)&mpctl
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/inet/ip/
H A Dip_dce.c757 ip_snmp_get_mib2_ip_dce(queue_t *q, mblk_t *mpctl, ip_stack_t *ipst) argument
773 mp2ctl = copymsg(mpctl);
776 optp = (struct opthdr *)&mpctl->b_rptr[
795 if (!snmp_append_data2(mpctl->b_cont, &mp_tail,
804 optp->len = (t_uscalar_t)msgdsize(mpctl->b_cont);
807 qreply(q, mpctl);
815 mpctl = mp2ctl;
817 mp2ctl = copymsg(mpctl);
818 optp = (struct opthdr *)&mpctl->b_rptr[
840 if (!snmp_append_data2(mpctl
[all...]
H A Dip.c9563 * NOTE: original mpctl is copied for msg's 2..N, since its ctl part is
9568 * should free mpctl.
9571 ip_snmp_get(queue_t *q, mblk_t *mpctl, int level, boolean_t legacy_req) argument
9584 if (mpctl == NULL || mpctl->b_cont == NULL) {
9598 if ((mpctl = icmp_snmp_get(q, mpctl)) == NULL) {
9604 if ((mpctl = udp_snmp_get(q, mpctl, legacy_req)) == NULL) {
9610 if ((mpctl
9695 ip_snmp_get_mib2_ip(queue_t *q, mblk_t *mpctl, mib2_ipIfStatsEntry_t *ipmib, ip_stack_t *ipst, boolean_t legacy_req) argument
9793 ip_snmp_get_mib2_ip_traffic_stats(queue_t *q, mblk_t *mpctl, ip_stack_t *ipst, boolean_t legacy_req) argument
9883 ip_snmp_get_mib2_icmp(queue_t *q, mblk_t *mpctl, ip_stack_t *ipst) argument
9910 ip_snmp_get_mib2_igmp(queue_t *q, mblk_t *mpctl, ip_stack_t *ipst) argument
9937 ip_snmp_get_mib2_multi(queue_t *q, mblk_t *mpctl, ip_stack_t *ipst) argument
9962 ip_snmp_get_mib2_ip_addr(queue_t *q, mblk_t *mpctl, ip_stack_t *ipst, boolean_t legacy_req) argument
10054 ip_snmp_get_mib2_ip6_addr(queue_t *q, mblk_t *mpctl, ip_stack_t *ipst, boolean_t legacy_req) argument
10165 ip_snmp_get_mib2_ip_group_mem(queue_t *q, mblk_t *mpctl, ip_stack_t *ipst) argument
10246 ip_snmp_get_mib2_ip6_group_mem(queue_t *q, mblk_t *mpctl, ip_stack_t *ipst) argument
10311 ip_snmp_get_mib2_ip_group_src(queue_t *q, mblk_t *mpctl, ip_stack_t *ipst) argument
10401 ip_snmp_get_mib2_ip6_group_src(queue_t *q, mblk_t *mpctl, ip_stack_t *ipst) argument
10472 ip_snmp_get_mib2_virt_multi(queue_t *q, mblk_t *mpctl, ip_stack_t *ipst) argument
10497 ip_snmp_get_mib2_multi_rtable(queue_t *q, mblk_t *mpctl, ip_stack_t *ipst) argument
10525 ip_snmp_get_mib2_ip_route_media(queue_t *q, mblk_t *mpctl, int level, ip_stack_t *ipst) argument
10610 ip_snmp_get_mib2_ip6_route_media(queue_t *q, mblk_t *mpctl, int level, ip_stack_t *ipst) argument
10693 ip_snmp_get_mib2_ip6(queue_t *q, mblk_t *mpctl, ip_stack_t *ipst, boolean_t legacy_req) argument
10824 ip_snmp_get_mib2_icmp6(queue_t *q, mblk_t *mpctl, ip_stack_t *ipst) argument
[all...]
H A Dicmp.c2820 icmp_snmp_get(queue_t *q, mblk_t *mpctl) argument
2831 mp2ctl = copymsg(mpctl);
2833 if (mpctl == NULL ||
2834 (mpdata = mpctl->b_cont) == NULL) {
2835 freemsg(mpctl);
2841 optp = (struct opthdr *)&mpctl->b_rptr[sizeof (struct T_optmgmt_ack)];
2847 qreply(q, mpctl);
/opensolaris-onvv-gate/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) argument
558 * mpctl will hold SCTP counters,
561 mp_ret = copymsg(mpctl);
562 mp_conn_ctl = copymsg(mpctl);
563 mp_local_ctl = copymsg(mpctl);
564 mp_rem_ctl = copymsg(mpctl);
565 mp_attr_ctl = copymsg(mpctl);
567 mpdata = mpctl->b_cont;
576 freemsg(mpctl);
821 optp = (struct opthdr *)&mpctl
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/inet/tcp/
H A Dtcp_stats.c91 tcp_snmp_get(queue_t *q, mblk_t *mpctl, boolean_t legacy_req) argument
122 mp2ctl = copymsg(mpctl);
124 if (mpctl == NULL ||
125 (mpdata = mpctl->b_cont) == NULL ||
126 (mp_conn_ctl = copymsg(mpctl)) == NULL ||
127 (mp_attr_ctl = copymsg(mpctl)) == NULL ||
128 (mp6_conn_ctl = copymsg(mpctl)) == NULL ||
129 (mp6_attr_ctl = copymsg(mpctl)) == NULL) {
134 freemsg(mpctl);
374 optp = (struct opthdr *)&mpctl
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/os/
H A Dstrsubr.c2742 mblk_t *mpctl = NULL; local
2751 error = strmakectl(mctl, flag, uiop->uio_fmode, &mpctl);
2759 freemsg(mpctl);
2763 if (mpctl != NULL) {
2765 linkb(mpctl, mpdata);
2766 *mpp = mpctl;
/opensolaris-onvv-gate/usr/src/cmd/sendmail/include/sm/
H A Dconf.h145 # include <sys/mpctl.h> /* for mpctl() in get_num_procs_online() */

Completed in 291 milliseconds