Searched refs:sctp_prim (Results 1 – 2 of 2) sorted by relevance
475 struct sctp_prim { struct
1861 struct sctp_prim prim; in sctp_setsockopt_primary_addr()1864 if (optlen != sizeof(struct sctp_prim)) in sctp_setsockopt_primary_addr()1867 if (copy_from_user(&prim, optval, sizeof(struct sctp_prim))) in sctp_setsockopt_primary_addr()3253 struct sctp_prim prim; in sctp_getsockopt_primary_addr()3257 if (len != sizeof(struct sctp_prim)) in sctp_getsockopt_primary_addr()3260 if (copy_from_user(&prim, optval, sizeof(struct sctp_prim))) in sctp_getsockopt_primary_addr()3280 if (copy_to_user(optval, &prim, sizeof(struct sctp_prim))) in sctp_getsockopt_primary_addr()