34 #ifndef GRPC_INTERNAL_CORE_TRANSPORT_CHTTP2_FRAME_GOAWAY_H
35 #define GRPC_INTERNAL_CORE_TRANSPORT_CHTTP2_FRAME_GOAWAY_H
37 #include "src/core/transport/chttp2/frame.h"
38 #include <grpc/support/port_platform.h>
39 #include <grpc/support/slice.h>
40 #include <grpc/support/slice_buffer.h>
43 GRPC_CHTTP2_GOAWAY_LSI0,
44 GRPC_CHTTP2_GOAWAY_LSI1,
45 GRPC_CHTTP2_GOAWAY_LSI2,
46 GRPC_CHTTP2_GOAWAY_LSI3,
47 GRPC_CHTTP2_GOAWAY_ERR0,
48 GRPC_CHTTP2_GOAWAY_ERR1,
49 GRPC_CHTTP2_GOAWAY_ERR2,
50 GRPC_CHTTP2_GOAWAY_ERR3,
51 GRPC_CHTTP2_GOAWAY_DEBUG
52 } grpc_chttp2_goaway_parse_state;
55 grpc_chttp2_goaway_parse_state state;
56 gpr_uint32 last_stream_id;
57 gpr_uint32 error_code;
59 gpr_uint32 debug_length;
65 grpc_chttp2_parse_error grpc_chttp2_goaway_parser_begin_frame(
67 grpc_chttp2_parse_error grpc_chttp2_goaway_parser_parse(
70 void grpc_chttp2_goaway_append(gpr_uint32 last_stream_id, gpr_uint32 error_code,
Definition: slice_buffer.h:48
Definition: frame_goaway.h:54