msgtype
uint32_t msgtype)
req->msg.msgtype = msgtype;
req->msg.msgtype = MSGBUF_TYPE_RXBUF_POST;
switch (msg->msgtype)
printf("%s: msgtype 0x%08x\n", __func__, msg->msgtype);
req->msg.msgtype = MSGBUF_TYPE_FLOW_RING_CREATE;
req->msg.msgtype = MSGBUF_TYPE_FLOW_RING_DELETE;
tx->msg.msgtype = MSGBUF_TYPE_TX_POST;
req->msg.msgtype = MSGBUF_TYPE_IOCTLPTR_REQ;
req->msg.msgtype = MSGBUF_TYPE_H2D_MAILBOX_DATA;
uint8_t msgtype;
static struct msgtype *getmsgtype(char *);
static struct msgtype *
struct msgtype *mtp;
enum msgtype msg;
static enum msgtype client_exittype;
msgtype = MSG_DETACHKILL;
msgtype = MSG_DETACH;
server_client_detach(c_loop, msgtype);
msgtype = MSG_DETACHKILL;
msgtype = MSG_DETACH;
server_client_detach(c_loop, msgtype);
enum msgtype msgtype;
server_client_detach(tc, msgtype);
enum msgtype msgtype;
msgtype = MSG_DETACHKILL;
msgtype = MSG_DETACH;
server_client_detach(loop, msgtype);
server_client_detach(loop, msgtype);
proc_send(struct tmuxpeer *peer, enum msgtype type, int fd, const void *buf,
server_client_detach(struct client *c, enum msgtype msgtype)
c->exit_msgtype = msgtype;
enum msgtype exit_msgtype;
enum msg_type msgtype, int in)
if (msgtype != BGP_UPDATE)
enum msg_type msgtype)
subtype = mrt_bgp_msg_subtype(mrt, pkg, peer, msgtype, in);
enum rtr_pdu_type msgtype;
if (rtr_parse_header(rs, msg, &msgtype) == -1)
switch (msgtype) {
log_rtr_type(msgtype));
enum rtr_pdu_type *msgtype)
*msgtype = rh.type;
enum msg_type msgtype, enum directions dir)
msgtype != BGP_UPDATE))
msgtype != BGP_UPDATE))
mrt_dump_bgp_msg(mrt, msg, p, msgtype);
uint8_t msgtype;
ibuf_get_n8(msg, &msgtype) == -1) {
session_mrt_dump_bgp_msg(p, msg, msgtype, DIR_IN);
switch (msgtype) {
&msgtype, 1);
"received message with unknown type %u", msgtype);
session_newmsg(enum msg_type msgtype, uint16_t len)
errs += ibuf_add_n8(buf, msgtype);
session_sendmsg(struct ibuf *msg, struct peer *p, enum msg_type msgtype)
session_mrt_dump_bgp_msg(p, msg, msgtype, DIR_OUT);
dhcp6type2str(uint8_t msgtype)
switch (msgtype) {
uint8_t msgtype)
type = (msgtype == DHCP6_MT_RELAYREPL) ? "reply" : "forward";
uint8_t msgtype, hopcount = 0;
msgtype = ds->ds_msgtype;
intf->name, dhcp6type2str(msgtype),
switch (msgtype) {
dsr->dsr_msgtype = msgtype;
relay6_logsrcaddr(pc, dstif, msgtype);
relay6_logsrcaddr(pc, interfaces, msgtype);
if (msgtype != DHCP6_MT_REPLY &&
relay6_logsrcaddr(pc, sp->intf, msgtype);
unsigned int msgtype;
{ &msgtype, sizeof(msgtype) },
if (len < sizeof(msgtype)) {
if (msgtype == LLDP_CTL_MSG_MSAP_END)
if (msgtype != LLDP_CTL_MSG_MSAP) {
warnx("unexpected msgtype %u", msgtype);
len -= sizeof(msgtype);
unsigned int msgtype = LLDP_CTL_MSG_MSAP_REQ;
{ &msgtype, sizeof(msgtype) },
unsigned int msgtype = LLDP_CTL_MSG_MSAP;
{ &msgtype, sizeof(msgtype) },
unsigned int msgtype = LLDP_CTL_MSG_MSAP_END;
rv = send(fd, &msgtype, sizeof(msgtype), 0);
unsigned int msgtype;
{ &msgtype, sizeof(msgtype) },
ldebug("%s: msgtype %u, %zu bytes", __func__, msgtype, len);
if (len < sizeof(msgtype)) {
len -= sizeof(msgtype);
switch (msgtype) {
lwarnx("%s: unhandled message %u", __func__, msgtype);
unsigned int msgtype = LLDP_CTL_MSG_PONG;
{ &msgtype, sizeof(msgtype) },
int msgtype, char *p, int datalen, u_int32_t level);
if (msgtype == DVMRP_PROBE) {
update_neighbor(vifi_t vifi, u_int32_t addr, int msgtype, char *p,
net_queue(struct syncpeer *p0, u_int32_t msgtype, u_int8_t *buf, u_int32_t len)
v = htonl(msgtype);
u_int32_t msgtype, msglen;
msg = net_read(p, &msgtype, &msglen);
"peer %s", msgtype, msglen, p->name);
switch (msgtype) {
"from peer %s", msgtype, msglen, p->name);
net_read(struct syncpeer *p, u_int32_t *msgtype, u_int32_t *msglen)
*msgtype = ntohl(v);
if (*msgtype > MSG_MAXTYPE) {
u_int8_t msgtype;
u_int8_t msgtype;
u_int8_t msgtype;
u_int8_t msgtype;
uint8_t msgtype;
msgtype = *cp;
switch (msgtype) {
uint8_t msgtype;
if (l < sizeof(msgtype))
if (length < sizeof(msgtype))
msgtype = *cp;
switch (msgtype) {
printf(" unknown message type %u", msgtype);
printf(" %s", tok2str(gtp_v1_msgtype, "Message Type %u", gh->msgtype));
if (gh->msgtype == GTPV1_G_PDU) {
printf("%s", tok2str(gtp_v1_msgtype, "Message Type %u", gph->msgtype));
printf("%s", tok2str(gtp_v0_msgtype, "Message Type %u", gh->msgtype));
if (gh->msgtype == GTPV0_T_PDU) {
printf("%s", tok2str(gtp_v0_msgtype, "Message Type %u", gph->msgtype));
printf(" %s", tok2str(gtp_v1_msgtype, "Message Type %u", gh->msgtype));