1 /* SNMP_Testing_GET_SET_OctetStrings.pcap */ 2 3 /* Frame 162 */ 4 const unsigned char set_request_octet_string_pkt[47] = { 5 0x30, 0x2d, 0x02, 0x01, 0x00, 0x04, /* .X0-.... */ 6 0x07, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, /* .private */ 7 0xa3, 0x1f, 0x02, 0x01, 0x74, 0x02, 0x01, 0x00, /* ....t... */ 8 0x02, 0x01, 0x00, 0x30, 0x14, 0x30, 0x12, 0x06, /* ...0.0.. */ 9 0x0a, 0x2b, 0x06, 0x01, 0x02, 0x01, 0x03, 0x01, /* .+...... */ 10 0x01, 0x02, 0x00, 0x04, 0x04, 0xff, 0x00, 0xf1, /* ........ */ 11 0xf2 /* . */ 12 }; 13 14 int set_request_octet_string_size = 47; 15 16 17 18 /* Frame (258) */ 19 const unsigned char get_request_octet_string_pkt[42] = { 20 0x30, 0x28, 0x02, 0x01, 0x00, 0x04, /* .S0(.... */ 21 0x06, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0xa0, /* .public. */ 22 0x1b, 0x02, 0x01, 0x75, 0x02, 0x01, 0x00, 0x02, /* ...u.... */ 23 0x01, 0x00, 0x30, 0x10, 0x30, 0x0e, 0x06, 0x0a, /* ..0.0... */ 24 0x2b, 0x06, 0x01, 0x02, 0x01, 0x03, 0x01, 0x01, /* +....... */ 25 0x02, 0x00, 0x05, 0x00 /* .... */ 26 }; 27 28 int get_request_octet_string_size = 42; 29 30 31 32 /* Frame 518 (88 bytes) */ 33 const unsigned char set_request_octet_string_leading_zero_pkt[64] = { 34 0x30, 0x2c, 0x02, 0x01, 0x00, 0x04, /* .W0,.... */ 35 0x07, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, /* .private */ 36 0xa3, 0x1e, 0x02, 0x01, 0x76, 0x02, 0x01, 0x00, /* ....v... */ 37 0x02, 0x01, 0x00, 0x30, 0x13, 0x30, 0x11, 0x06, /* ...0.0.. */ 38 0x0a, 0x2b, 0x06, 0x01, 0x02, 0x01, 0x03, 0x01, /* .+...... */ 39 0x01, 0x02, 0x00, 0x04, 0x03, 0x00, 0xf1, 0xf2 /* ........ */ 40 }; 41 42 43 int set_request_octet_string_leading_zero_size = 46; 44 45 46 47 /* Frame 607(84 bytes) */ 48 const unsigned char get_request_octet_string_leading_zero_pkt[42] = { 49 0x30, 0x28, 0x02, 0x01, 0x00, 0x04, /* .S0(.... */ 50 0x06, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0xa0, /* .public. */ 51 0x1b, 0x02, 0x01, 0x77, 0x02, 0x01, 0x00, 0x02, /* ...w.... */ 52 0x01, 0x00, 0x30, 0x10, 0x30, 0x0e, 0x06, 0x0a, /* ..0.0... */ 53 0x2b, 0x06, 0x01, 0x02, 0x01, 0x03, 0x01, 0x01, /* +....... */ 54 0x02, 0x00, 0x05, 0x00 /* .... */ 55 }; 56 57 int get_request_octet_string_leading_zero_size = 42; 58 59