• Home
  • Raw
  • Download

Lines Matching refs:sa_id

155 	nl_addr_put (ae->sa_id.daddr);  in xfrm_ae_free_data()
167 dst->sa_id.daddr = NULL; in xfrm_ae_clone()
171 if (src->sa_id.daddr) { in xfrm_ae_clone()
172 if ((dst->sa_id.daddr = nl_addr_clone (src->sa_id.daddr)) == NULL) in xfrm_ae_clone()
201 diff |= XFRM_AE_DIFF(DADDR, nl_addr_cmp(a->sa_id.daddr, b->sa_id.daddr)); in xfrm_ae_compare()
202 diff |= XFRM_AE_DIFF(SPI, a->sa_id.spi != b->sa_id.spi); in xfrm_ae_compare()
203 diff |= XFRM_AE_DIFF(PROTO, a->sa_id.proto != b->sa_id.proto); in xfrm_ae_compare()
306 nl_addr2str(ae->sa_id.daddr, dst, sizeof(dst))); in xfrm_ae_dump_line()
309 nl_ip_proto2str (ae->sa_id.proto, buf, sizeof (buf)), in xfrm_ae_dump_line()
310 ae->sa_id.spi, ae->reqid); in xfrm_ae_dump_line()
387 …memcpy (&ae_id.sa_id.daddr, nl_addr_get_binary_addr (tmpl->sa_id.daddr), sizeof (uint8_t) * nl_add… in build_xfrm_ae_message()
388 ae_id.sa_id.spi = htonl(tmpl->sa_id.spi); in build_xfrm_ae_message()
389 ae_id.sa_id.family = tmpl->sa_id.family; in build_xfrm_ae_message()
390 ae_id.sa_id.proto = tmpl->sa_id.proto; in build_xfrm_ae_message()
508 …ae->sa_id.daddr = nl_addr_build(ae_id->sa_id.family, &ae_id->sa_id.daddr, sizeof (ae_id->sa_id.dad… in xfrmnl_ae_parse()
509 ae->sa_id.family= ae_id->sa_id.family; in xfrmnl_ae_parse()
510 ae->sa_id.spi = ntohl(ae_id->sa_id.spi); in xfrmnl_ae_parse()
511 ae->sa_id.proto = ae_id->sa_id.proto; in xfrmnl_ae_parse()
512 ae->saddr = nl_addr_build(ae_id->sa_id.family, &ae_id->saddr, sizeof (ae_id->saddr)); in xfrmnl_ae_parse()
617 …memcpy (&ae_id.sa_id.daddr, nl_addr_get_binary_addr (daddr), sizeof (uint8_t) * nl_addr_get_len (d… in xfrmnl_ae_build_get_request()
618 ae_id.sa_id.spi = htonl(spi); in xfrmnl_ae_build_get_request()
619 ae_id.sa_id.family = nl_addr_get_family (daddr); in xfrmnl_ae_build_get_request()
620 ae_id.sa_id.proto = protocol; in xfrmnl_ae_build_get_request()
680 if (nl_addr_get_family (new) != ae->sa_id.family) in __assign_addr()
683 ae->sa_id.family = nl_addr_get_family (new); in __assign_addr()
703 return ae->sa_id.daddr; in xfrmnl_ae_get_daddr()
710 return __assign_addr(ae, &ae->sa_id.daddr, addr, XFRM_AE_ATTR_DADDR, 0); in xfrmnl_ae_set_daddr()
716 return ae->sa_id.spi; in xfrmnl_ae_get_spi()
723 ae->sa_id.spi = spi; in xfrmnl_ae_set_spi()
732 return ae->sa_id.family; in xfrmnl_ae_get_family()
739 ae->sa_id.family = family; in xfrmnl_ae_set_family()
748 return ae->sa_id.proto; in xfrmnl_ae_get_proto()
755 ae->sa_id.proto = protocol; in xfrmnl_ae_set_proto()