r.afi = ntohs(r.afi);
parse_refresh(struct peer *peer){	u_char		*p;	struct rrefresh	 r;	p = peer->rbuf->rptr;	p += MSGSIZE_HEADER;	/* header is already checked */	/* afi, 2 byte */	memcpy(&r.afi, p, sizeof(r.afi));	p += 2;	/* reserved, 1 byte */	p += 1;	/* safi, 1 byte */	memcpy(&r.safi, p, sizeof(r.safi));	/* afi/safi unchecked -	unrecognized values will be ignored anyway */	if (imsg_compose(&ibuf_rde, IMSG_REFRESH, peer->conf.id, &r,	    sizeof(r)) == -1)		return (-1);	return (0);}