Lines Matching refs:ep

111 	struct sctp_endpoint *ep = NULL;  in sctp_rcv()  local
177 ep = __sctp_rcv_lookup_endpoint(net, &dest); in sctp_rcv()
180 rcvr = asoc ? &asoc->base : &ep->base; in sctp_rcv()
192 sctp_endpoint_put(ep); in sctp_rcv()
193 ep = NULL; in sctp_rcv()
196 ep = sctp_sk(sk)->ep; in sctp_rcv()
197 sctp_endpoint_hold(ep); in sctp_rcv()
198 rcvr = &ep->base; in sctp_rcv()
279 sctp_endpoint_put(ep); in sctp_rcv()
293 sctp_endpoint_put(ep); in sctp_rcv()
464 asoc->state, asoc->ep, asoc, t, in sctp_icmp_proto_unreachable()
709 static void __sctp_hash_endpoint(struct sctp_endpoint *ep) in __sctp_hash_endpoint() argument
711 struct net *net = sock_net(ep->base.sk); in __sctp_hash_endpoint()
715 epb = &ep->base; in __sctp_hash_endpoint()
726 void sctp_hash_endpoint(struct sctp_endpoint *ep) in sctp_hash_endpoint() argument
729 __sctp_hash_endpoint(ep); in sctp_hash_endpoint()
734 static void __sctp_unhash_endpoint(struct sctp_endpoint *ep) in __sctp_unhash_endpoint() argument
736 struct net *net = sock_net(ep->base.sk); in __sctp_unhash_endpoint()
740 epb = &ep->base; in __sctp_unhash_endpoint()
752 void sctp_unhash_endpoint(struct sctp_endpoint *ep) in sctp_unhash_endpoint() argument
755 __sctp_unhash_endpoint(ep); in sctp_unhash_endpoint()
765 struct sctp_endpoint *ep; in __sctp_rcv_lookup_endpoint() local
772 ep = sctp_ep(epb); in __sctp_rcv_lookup_endpoint()
773 if (sctp_endpoint_is_match(ep, net, laddr)) in __sctp_rcv_lookup_endpoint()
777 ep = sctp_sk(net->sctp.ctl_sock)->ep; in __sctp_rcv_lookup_endpoint()
780 sctp_endpoint_hold(ep); in __sctp_rcv_lookup_endpoint()
782 return ep; in __sctp_rcv_lookup_endpoint()