Lines Matching refs:family
52 __u16 family; in xfrm_acquire_print() local
62 family = xacq->sel.family; in xfrm_acquire_print()
63 if (family == AF_UNSPEC) in xfrm_acquire_print()
64 family = xacq->policy.sel.family; in xfrm_acquire_print()
65 if (family == AF_UNSPEC) in xfrm_acquire_print()
66 family = preferred_family; in xfrm_acquire_print()
80 xfrm_selector_print(&xacq->sel, family, fp, " sel "); in xfrm_acquire_print()
181 __u16 family; in xfrm_report_print() local
189 family = xrep->sel.family; in xfrm_report_print()
190 if (family == AF_UNSPEC) in xfrm_report_print()
191 family = preferred_family; in xfrm_report_print()
198 xfrm_selector_print(&xrep->sel, family, fp, " sel "); in xfrm_report_print()
202 xfrm_xfrma_print(tb, family, fp, " "); in xfrm_report_print()
230 fprintf(fp, "dst %s ", rt_addr_n2a(sa_id->family, in xfrm_usersa_print()
250 fprintf(fp, "src %s ", rt_addr_n2a(id->sa_id.family, in xfrm_ae_print()
262 static void xfrm_print_addr(FILE *fp, int family, xfrm_address_t *a, size_t s) in xfrm_print_addr() argument
267 fprintf(fp, "%s", rt_addr_n2a(family, s, a, buf, sizeof(buf))); in xfrm_print_addr()
277 xfrm_print_addr(fp, map->id.family, &map->old_saddr, in xfrm_mapping_print()
281 xfrm_print_addr(fp, map->id.family, &map->new_saddr, in xfrm_mapping_print()