| /illumos-gate/usr/src/uts/common/inet/ |
| H A D | snmpcom.c | 170 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 D | rawip_impl.h | 101 extern mblk_t *icmp_snmp_get(queue_t *q, mblk_t *mpctl);
|
| /illumos-gate/usr/src/uts/common/inet/udp/ |
| H A D | udp_stats.c | 56 udp_snmp_get(queue_t *q, mblk_t *mpctl, boolean_t legacy_req) in udp_snmp_get() argument 94 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() [all …]
|
| /illumos-gate/usr/src/uts/common/inet/ip/ |
| H A D | ip_dce.c | 879 ip_snmp_get_mib2_ip_dce(queue_t *q, mblk_t *mpctl, ip_stack_t *ipst) in ip_snmp_get_mib2_ip_dce() argument 895 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() [all …]
|
| H A D | ip.c | 9663 ip_snmp_get(queue_t *q, mblk_t *mpctl, int level, boolean_t legacy_req) in ip_snmp_get() argument 9676 if (mpctl == NULL || mpctl->b_cont == NULL) { in ip_snmp_get() 9690 if ((mpctl = icmp_snmp_get(q, mpctl)) == NULL) { in ip_snmp_get() 9696 if ((mpctl = udp_snmp_get(q, mpctl, legacy_req)) == NULL) { in ip_snmp_get() 9705 if ((mpctl = tcp_snmp_get(q, mpctl, legacy_req)) == NULL) { in ip_snmp_get() 9713 if ((mpctl = ip_snmp_get_mib2_ip_traffic_stats(q, mpctl, in ip_snmp_get() 9718 if ((mpctl = ip_snmp_get_mib2_ip6(q, mpctl, ipst, in ip_snmp_get() 9723 if ((mpctl = ip_snmp_get_mib2_icmp(q, mpctl, ipst)) == NULL) { in ip_snmp_get() 9727 if ((mpctl = ip_snmp_get_mib2_icmp6(q, mpctl, ipst)) == NULL) { in ip_snmp_get() 9731 if ((mpctl = ip_snmp_get_mib2_igmp(q, mpctl, ipst)) == NULL) { in ip_snmp_get() [all …]
|
| H A D | icmp.c | 2848 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 D | tcp_stats.c | 144 tcp_snmp_get(queue_t *q, mblk_t *mpctl, boolean_t legacy_req) in tcp_snmp_get() argument 180 mp2ctl = copymsg(mpctl); in tcp_snmp_get() 182 if (mpctl == NULL || in tcp_snmp_get() 183 (mpdata = mpctl->b_cont) == NULL || in tcp_snmp_get() 184 (mp_conn_ctl = copymsg(mpctl)) == NULL || in tcp_snmp_get() 185 (mp_attr_ctl = copymsg(mpctl)) == NULL || in tcp_snmp_get() 186 (mp_info_ctl = copymsg(mpctl)) == NULL || in tcp_snmp_get() 187 (mp6_conn_ctl = copymsg(mpctl)) == NULL || in tcp_snmp_get() 188 (mp6_attr_ctl = copymsg(mpctl)) == NULL || in tcp_snmp_get() 189 (mp6_info_ctl = copymsg(mpctl)) == NULL) { in tcp_snmp_get() [all …]
|
| /illumos-gate/usr/src/uts/common/inet/sctp/ |
| H A D | sctp_snmp.c | 530 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 D | strsubr.c | 2766 mblk_t *mpctl = NULL; in strmakemsg() local 2775 error = strmakectl(mctl, flag, uiop->uio_fmode, &mpctl); in strmakemsg() 2783 freemsg(mpctl); in strmakemsg() 2787 if (mpctl != NULL) { in strmakemsg() 2789 linkb(mpctl, mpdata); in strmakemsg() 2790 *mpp = mpctl; in strmakemsg()
|