Searched refs:spc (Results 1 – 2 of 2) sorted by relevance
247 struct sctp_paddr_change *spc; in sctp_ulpevent_make_peer_addr_change() local256 spc = skb_put(skb, sizeof(struct sctp_paddr_change)); in sctp_ulpevent_make_peer_addr_change()265 spc->spc_type = SCTP_PEER_ADDR_CHANGE; in sctp_ulpevent_make_peer_addr_change()275 spc->spc_length = sizeof(struct sctp_paddr_change); in sctp_ulpevent_make_peer_addr_change()283 spc->spc_flags = 0; in sctp_ulpevent_make_peer_addr_change()293 spc->spc_state = state; in sctp_ulpevent_make_peer_addr_change()304 spc->spc_error = error; in sctp_ulpevent_make_peer_addr_change()316 spc->spc_assoc_id = sctp_assoc2id(asoc); in sctp_ulpevent_make_peer_addr_change()326 memcpy(&spc->spc_aaddr, aaddr, sizeof(struct sockaddr_storage)); in sctp_ulpevent_make_peer_addr_change()331 (union sctp_addr *)&spc->spc_aaddr); in sctp_ulpevent_make_peer_addr_change()
1251 struct xfrmu_spdinfo spc; in build_spdinfo() local1266 spc.incnt = si.incnt; in build_spdinfo()1267 spc.outcnt = si.outcnt; in build_spdinfo()1268 spc.fwdcnt = si.fwdcnt; in build_spdinfo()1269 spc.inscnt = si.inscnt; in build_spdinfo()1270 spc.outscnt = si.outscnt; in build_spdinfo()1271 spc.fwdscnt = si.fwdscnt; in build_spdinfo()1284 err = nla_put(skb, XFRMA_SPD_INFO, sizeof(spc), &spc); in build_spdinfo()