Lines Matching refs:bp
13 __repmgr_handshake_marshal(env, argp, bp)
16 u_int8_t *bp;
18 DB_HTONS_COPYOUT(env, bp, argp->port);
19 DB_HTONL_COPYOUT(env, bp, argp->priority);
27 __repmgr_handshake_unmarshal(env, argp, bp, max, nextp)
30 u_int8_t *bp;
36 DB_NTOHS_COPYIN(env, argp->port, bp);
37 DB_NTOHL_COPYIN(env, argp->priority, bp);
40 *nextp = bp;
54 __repmgr_ack_marshal(env, argp, bp)
57 u_int8_t *bp;
59 DB_HTONL_COPYOUT(env, bp, argp->generation);
60 DB_HTONL_COPYOUT(env, bp, argp->lsn.file);
61 DB_HTONL_COPYOUT(env, bp, argp->lsn.offset);
69 __repmgr_ack_unmarshal(env, argp, bp, max, nextp)
72 u_int8_t *bp;
78 DB_NTOHL_COPYIN(env, argp->generation, bp);
79 DB_NTOHL_COPYIN(env, argp->lsn.file, bp);
80 DB_NTOHL_COPYIN(env, argp->lsn.offset, bp);
83 *nextp = bp;
97 __repmgr_version_proposal_marshal(env, argp, bp)
100 u_int8_t *bp;
102 DB_HTONL_COPYOUT(env, bp, argp->min);
103 DB_HTONL_COPYOUT(env, bp, argp->max);
112 __repmgr_version_proposal_unmarshal(env, argp, bp, max, nextp)
115 u_int8_t *bp;
121 DB_NTOHL_COPYIN(env, argp->min, bp);
122 DB_NTOHL_COPYIN(env, argp->max, bp);
125 *nextp = bp;
139 __repmgr_version_confirmation_marshal(env, argp, bp)
142 u_int8_t *bp;
144 DB_HTONL_COPYOUT(env, bp, argp->version);
153 __repmgr_version_confirmation_unmarshal(env, argp, bp, max, nextp)
156 u_int8_t *bp;
162 DB_NTOHL_COPYIN(env, argp->version, bp);
165 *nextp = bp;