Lines Matching defs:last
198 struct inpcb *last = 0;
217 if (last) {
224 if (ipsec4_in_reject_so(n, last->inp_socket)) {
234 if (mac_inpcb_check_deliver(last, n, AF_INET,
241 if (last->inp_flags & INP_CONTROLOPTS ||
242 last->inp_socket->so_options & SO_TIMESTAMP)
243 ip_savecontrol(last, &opts, ip, n);
244 if (last->inp_flags & INP_STRIPHDR) {
250 if (sbappendaddr(&last->inp_socket->so_rcv,
253 sorwakeup(last->inp_socket);
264 last = inp;
270 if (ipsec_bypass == 0 && last) {
271 if (ipsec4_in_reject_so(m, last->inp_socket)) {
281 if (last && skipit == 0) {
282 if (mac_inpcb_check_deliver(last, m, AF_INET, SOCK_RAW) != 0)
287 if (last) {
288 if (last->inp_flags & INP_CONTROLOPTS ||
289 last->inp_socket->so_options & SO_TIMESTAMP)
290 ip_savecontrol(last, &opts, ip, m);
291 if (last->inp_flags & INP_STRIPHDR) {
296 if (sbappendaddr(&last->inp_socket->so_rcv,
298 sorwakeup(last->inp_socket);
790 * it will handle the socket dealloc on last reference
807 /* cleanup after last reference */