Searched defs:mpctl (Results 1 - 8 of 8) sorted by relevance

/illumos-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...]
/illumos-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...]
/illumos-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...]
/illumos-gate/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) argument
865 mp2ctl = copymsg(mpctl);
868 optp = (struct opthdr *)&mpctl->b_rptr[
887 if (!snmp_append_data2(mpctl->b_cont, &mp_tail,
896 optp->len = (t_uscalar_t)msgdsize(mpctl->b_cont);
899 qreply(q, mpctl);
907 mpctl = mp2ctl;
909 mp2ctl = copymsg(mpctl);
910 optp = (struct opthdr *)&mpctl->b_rptr[
932 if (!snmp_append_data2(mpctl
[all...]
H A Dicmp.c2841 icmp_snmp_get(queue_t *q, mblk_t *mpctl) argument
2852 mp2ctl = copymsg(mpctl);
2854 if (mpctl == NULL ||
2855 (mpdata = mpctl->b_cont) == NULL) {
2856 freemsg(mpctl);
2862 optp = (struct opthdr *)&mpctl->b_rptr[sizeof (struct T_optmgmt_ack)];
2868 qreply(q, mpctl);
H A Dip.c9598 * NOTE: original mpctl is copied for msg's 2..N, since its ctl part is
9603 * should free mpctl.
9606 ip_snmp_get(queue_t *q, mblk_t *mpctl, int level, boolean_t legacy_req) argument
9619 if (mpctl == NULL || mpctl->b_cont == NULL) {
9633 if ((mpctl = icmp_snmp_get(q, mpctl)) == NULL) {
9639 if ((mpctl = udp_snmp_get(q, mpctl, legacy_req)) == NULL) {
9645 if ((mpctl
9730 ip_snmp_get_mib2_ip(queue_t *q, mblk_t *mpctl, mib2_ipIfStatsEntry_t *ipmib, ip_stack_t *ipst, boolean_t legacy_req) argument
9828 ip_snmp_get_mib2_ip_traffic_stats(queue_t *q, mblk_t *mpctl, ip_stack_t *ipst, boolean_t legacy_req) argument
9918 ip_snmp_get_mib2_icmp(queue_t *q, mblk_t *mpctl, ip_stack_t *ipst) argument
9945 ip_snmp_get_mib2_igmp(queue_t *q, mblk_t *mpctl, ip_stack_t *ipst) argument
9972 ip_snmp_get_mib2_multi(queue_t *q, mblk_t *mpctl, ip_stack_t *ipst) argument
9997 ip_snmp_get_mib2_ip_addr(queue_t *q, mblk_t *mpctl, ip_stack_t *ipst, boolean_t legacy_req) argument
10089 ip_snmp_get_mib2_ip6_addr(queue_t *q, mblk_t *mpctl, ip_stack_t *ipst, boolean_t legacy_req) argument
10200 ip_snmp_get_mib2_ip_group_mem(queue_t *q, mblk_t *mpctl, ip_stack_t *ipst) argument
10281 ip_snmp_get_mib2_ip6_group_mem(queue_t *q, mblk_t *mpctl, ip_stack_t *ipst) argument
10346 ip_snmp_get_mib2_ip_group_src(queue_t *q, mblk_t *mpctl, ip_stack_t *ipst) argument
10436 ip_snmp_get_mib2_ip6_group_src(queue_t *q, mblk_t *mpctl, ip_stack_t *ipst) argument
10507 ip_snmp_get_mib2_virt_multi(queue_t *q, mblk_t *mpctl, ip_stack_t *ipst) argument
10532 ip_snmp_get_mib2_multi_rtable(queue_t *q, mblk_t *mpctl, ip_stack_t *ipst) argument
10560 ip_snmp_get_mib2_ip_route_media(queue_t *q, mblk_t *mpctl, int level, ip_stack_t *ipst) argument
10645 ip_snmp_get_mib2_ip6_route_media(queue_t *q, mblk_t *mpctl, int level, ip_stack_t *ipst) argument
10728 ip_snmp_get_mib2_ip6(queue_t *q, mblk_t *mpctl, ip_stack_t *ipst, boolean_t legacy_req) argument
10859 ip_snmp_get_mib2_icmp6(queue_t *q, mblk_t *mpctl, ip_stack_t *ipst) argument
[all...]
/illumos-gate/usr/src/uts/common/inet/tcp/
H A Dtcp_stats.c93 tcp_snmp_get(queue_t *q, mblk_t *mpctl, boolean_t legacy_req) argument
124 mp2ctl = copymsg(mpctl);
126 if (mpctl == NULL ||
127 (mpdata = mpctl->b_cont) == NULL ||
128 (mp_conn_ctl = copymsg(mpctl)) == NULL ||
129 (mp_attr_ctl = copymsg(mpctl)) == NULL ||
130 (mp6_conn_ctl = copymsg(mpctl)) == NULL ||
131 (mp6_attr_ctl = copymsg(mpctl)) == NULL) {
136 freemsg(mpctl);
376 optp = (struct opthdr *)&mpctl
[all...]
/illumos-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;

Completed in 96 milliseconds