Lines Matching defs:last
157 struct inpcb *last = 0;
190 if (last) {
197 if (ipsec_bypass == 0 && n && ipsec6_in_reject_so(n, last->inp_socket)) {
204 if ((last->in6p_flags & IN6P_CONTROLOPTS) != 0 ||
205 (last->in6p_socket->so_options & SO_TIMESTAMP) != 0 ||
206 (last->in6p_socket->so_options & SO_TIMESTAMP_MONOTONIC) != 0) {
207 ret = ip6_savecontrol(last, n, &opts);
211 last = in6p;
217 so_recv_data_stat(last->in6p_socket, m, 0);
218 if (sbappendaddr(&last->in6p_socket->so_rcv,
223 sorwakeup(last->in6p_socket);
227 last = in6p;
234 if (ipsec_bypass == 0 && last && ipsec6_in_reject_so(m, last->inp_socket)) {
241 if (last) {
242 if ((last->in6p_flags & IN6P_CONTROLOPTS) != 0 ||
243 (last->in6p_socket->so_options & SO_TIMESTAMP) != 0 ||
244 (last->in6p_socket->so_options & SO_TIMESTAMP_MONOTONIC) != 0) {
245 ret = ip6_savecontrol(last, m, &opts);
256 so_recv_data_stat(last->in6p_socket, m, 0);
257 if (sbappendaddr(&last->in6p_socket->so_rcv,
261 sorwakeup(last->in6p_socket);