SWAP
SWAP(str,i,j);
SWAP(str,i,j);
# define PUTSWAPPED(SIZE,PTR,VAL) PUT(SIZE,PTR,SWAP##SIZE(VAL))
# define GETSWAPPED(SIZE,PTR) SWAP##SIZE(GET(SIZE,PTR))
# define GETU32(p) SWAP(*((u32 *)(p)))
# define PUTU32(ct, st) {*((u32 *)(ct)) = SWAP((st));}
SWAP(best_ccache, ccache, tmp_ccache);
SWAP(best_princ, princ, tmp_princ);
#define GETU32(p) SWAP(*((u32 *)(p)))
*((u32 *)(ct)) = SWAP((st)); \
SWAP(par, child, count, size, tmp); \
case SWAP:
GEN_SES_STATUS_COMMON_ACCESSORS(swap, SWAP)
SWAP(counter_u64_t, *pkc, *qkc);
SWAP(struct radix_node_head *, kt->pfrkt_ip4,
SWAP(struct radix_node_head *, kt->pfrkt_ip6,
SWAP(int, kt->pfrkt_cnt, shadow->pfrkt_cnt);
SWAP(x, y);
SWAP(x, y); \
PCTRIE_DEFINE(SWAP, swblk, p, swblk_trie_alloc, swblk_trie_free);
SWAP(char *, sep->se_user, new->se_user);
SWAP(char *, sep->se_group, new->se_group);
SWAP(char *, sep->se_class, new->se_class);
SWAP(char *, sep->se_server, new->se_server);
SWAP(char *, sep->se_server_name, new->se_server_name);
SWAP(char *, sep->se_argv[i], new->se_argv[i]);
SWAP(char *, sep->se_policy, new->se_policy);