Searched defs:m_stat (Results 1 - 4 of 4) sorted by relevance
/vbox/src/VBox/Devices/Network/lwip/src/core/snmp/ |
H A D | msg_in.c | 66 static err_t snmp_pdu_header_check(struct pbuf *p, u16_t ofs, u16_t pdu_len, u16_t *ofs_ret, struct snmp_msg_pstat *m_stat); 67 static err_t snmp_pdu_dec_varbindlist(struct pbuf *p, u16_t ofs, u16_t *ofs_ret, struct snmp_msg_pstat *m_stat); 921 * @param m_stat points to the current message request state return 927 snmp_pdu_header_check(struct pbuf *p, u16_t ofs, u16_t pdu_len, u16_t *ofs_ret, struct snmp_msg_pstat *m_stat) argument 976 derr = snmp_asn1_dec_raw(p, ofs + 1 + len_octets, len, SNMP_COMMUNITY_STR_LEN, m_stat->community); 984 m_stat->community[len] = 0; 985 m_stat->com_strlen = len; 986 if (strncmp(snmp_publiccommunity, (const char*)m_stat->community, SNMP_COMMUNITY_STR_LEN) != 0) 1038 m_stat->rt = type & 0x1F; 1054 derr = snmp_asn1_dec_s32t(p, ofs + 1 + len_octets, len, &m_stat 1121 snmp_pdu_dec_varbindlist(struct pbuf *p, u16_t ofs, u16_t *ofs_ret, struct snmp_msg_pstat *m_stat) argument [all...] |
H A D | msg_out.c | 71 static u16_t snmp_resp_header_sum(struct snmp_msg_pstat *m_stat, u16_t vb_len); 75 static u16_t snmp_resp_header_enc(struct snmp_msg_pstat *m_stat, struct pbuf *p); 110 * @param m_stat points to the current message request state source 113 * @note the caller is responsible for filling in outvb in the m_stat 117 snmp_send_response(struct snmp_msg_pstat *m_stat) argument 125 tot_len = snmp_varbind_list_sum(&m_stat->outvb); 126 tot_len = snmp_resp_header_sum(m_stat, tot_len); 135 m_stat->error_status = SNMP_ES_TOOBIG; 136 m_stat->error_index = 0; 139 tot_len = snmp_resp_header_sum(m_stat, tot_le 325 snmp_resp_header_sum(struct snmp_msg_pstat *m_stat, u16_t vb_len) argument 493 snmp_resp_header_enc(struct snmp_msg_pstat *m_stat, struct pbuf *p) argument [all...] |
/vbox/src/VBox/Devices/Network/lwip-new/src/core/snmp/ |
H A D | msg_in.c | 62 static err_t snmp_pdu_header_check(struct pbuf *p, u16_t ofs, u16_t pdu_len, u16_t *ofs_ret, struct snmp_msg_pstat *m_stat); 63 static err_t snmp_pdu_dec_varbindlist(struct pbuf *p, u16_t ofs, u16_t *ofs_ret, struct snmp_msg_pstat *m_stat); 910 * @param m_stat points to the current message request state return 916 snmp_pdu_header_check(struct pbuf *p, u16_t ofs, u16_t pdu_len, u16_t *ofs_ret, struct snmp_msg_pstat *m_stat) argument 965 derr = snmp_asn1_dec_raw(p, ofs + 1 + len_octets, len, SNMP_COMMUNITY_STR_LEN, m_stat->community); 973 m_stat->community[len] = 0; 974 m_stat->com_strlen = (u8_t)len; 975 if (strncmp(snmp_publiccommunity, (const char*)m_stat->community, SNMP_COMMUNITY_STR_LEN) != 0) 1027 m_stat->rt = type & 0x1F; 1043 derr = snmp_asn1_dec_s32t(p, ofs + 1 + len_octets, len, &m_stat 1110 snmp_pdu_dec_varbindlist(struct pbuf *p, u16_t ofs, u16_t *ofs_ret, struct snmp_msg_pstat *m_stat) argument [all...] |
H A D | msg_out.c | 67 static u16_t snmp_resp_header_sum(struct snmp_msg_pstat *m_stat, u16_t vb_len); 71 static u16_t snmp_resp_header_enc(struct snmp_msg_pstat *m_stat, struct pbuf *p); 106 * @param m_stat points to the current message request state source 109 * @note the caller is responsible for filling in outvb in the m_stat 113 snmp_send_response(struct snmp_msg_pstat *m_stat) argument 121 tot_len = snmp_varbind_list_sum(&m_stat->outvb); 122 tot_len = snmp_resp_header_sum(m_stat, tot_len); 131 m_stat->error_status = SNMP_ES_TOOBIG; 132 m_stat->error_index = 0; 135 tot_len = snmp_resp_header_sum(m_stat, tot_le 316 snmp_resp_header_sum(struct snmp_msg_pstat *m_stat, u16_t vb_len) argument 484 snmp_resp_header_enc(struct snmp_msg_pstat *m_stat, struct pbuf *p) argument [all...] |
Completed in 49 milliseconds