Lines Matching defs:last
170 static int udp_gc_done = FALSE; /* Garbage collection performed last slowtimo */
203 static void udp_append(struct inpcb *last, struct ip *ip,
207 static void udp_append(struct inpcb *last, struct ip *ip,
785 udp_append(struct inpcb *last, struct ip *ip, struct mbuf *n, int off,
789 udp_append(struct inpcb *last, struct ip *ip, struct mbuf *n, int off,
798 if (mac_inpcb_check_deliver(last, n, AF_INET, SOCK_DGRAM) != 0) {
803 if ((last->inp_flags & INP_CONTROLOPTS) != 0 ||
804 (last->inp_socket->so_options & SO_TIMESTAMP) != 0 ||
805 (last->inp_socket->so_options & SO_TIMESTAMP_MONOTONIC) != 0) {
807 if (last->inp_vflag & INP_IPV6) {
814 savedflags = last->inp_flags;
815 last->inp_flags &= ~INP_UNMAPPABLEOPTS;
816 ret = ip6_savecontrol(last, n, &opts);
818 last->inp_flags = savedflags;
821 last->inp_flags = savedflags;
825 ret = ip_savecontrol(last, &opts, ip, n);
832 if (last->inp_vflag & INP_IPV6) {
842 locked_add_64(&last->inp_stat->rxpackets, 1);
843 locked_add_64(&last->inp_stat->rxbytes, n->m_pkthdr.len);
845 so_recv_data_stat(last->inp_socket, n, 0);
847 if (sbappendaddr(&last->inp_socket->so_rcv, append_sa, n, opts, NULL) == 0) {
850 sorwakeup(last->inp_socket);