create_pair
static int create_pair(int *c, int *p, int type)
static inline int create_pair(int family, int sotype, int *p0, int *p1)