Searched refs:sa_length (Results 1 – 2 of 2) sorted by relevance
2089 u_int sa_length; in ikev2_sa_print() local2104 sa_length = osa_length - 4; in ikev2_sa_print()2105 ND_PRINT((ndo," len=%d", sa_length)); in ikev2_sa_print()2115 if (sa_length < sizeof(*ext)) in ikev2_sa_print()2130 if (sa_length < item_len) in ikev2_sa_print()2152 sa_length -= item_len; in ikev2_sa_print()2159 cp += sa_length; in ikev2_sa_print()
510 dup_sockaddr(struct sockaddr *sa, size_t sa_length) in dup_sockaddr() argument514 if ((newsa = malloc(sa_length)) == NULL) in dup_sockaddr()516 return (memcpy(newsa, sa, sa_length)); in dup_sockaddr()