tcp_input.c (b5addd8564a070a3b415a00bbbdcc175449c4a8b) | tcp_input.c (fb95b5d3c3d91d5c06e16abf161c11d4be32fb7a) |
---|---|
1/* 2 * Copyright (c) 1982, 1986, 1988, 1990, 1993, 1994, 1995 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 643 unchanged lines hidden (view full) --- 652 /* Unscale the window into a 32-bit value. */ 653 if ((thflags & TH_SYN) == 0) 654 tiwin = th->th_win << tp->snd_scale; 655 else 656 tiwin = th->th_win; 657 658 so = inp->inp_socket; 659#ifdef MAC | 1/* 2 * Copyright (c) 1982, 1986, 1988, 1990, 1993, 1994, 1995 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 643 unchanged lines hidden (view full) --- 652 /* Unscale the window into a 32-bit value. */ 653 if ((thflags & TH_SYN) == 0) 654 tiwin = th->th_win << tp->snd_scale; 655 else 656 tiwin = th->th_win; 657 658 so = inp->inp_socket; 659#ifdef MAC |
660 error = mac_check_socket_receive(so, m); | 660 error = mac_check_socket_deliver(so, m); |
661 if (error) 662 goto drop; 663#endif 664 if (so->so_options & (SO_DEBUG|SO_ACCEPTCONN)) { 665 struct in_conninfo inc; 666#ifdef TCPDEBUG 667 if (so->so_options & SO_DEBUG) { 668 ostate = tp->t_state; --- 2134 unchanged lines hidden --- | 661 if (error) 662 goto drop; 663#endif 664 if (so->so_options & (SO_DEBUG|SO_ACCEPTCONN)) { 665 struct in_conninfo inc; 666#ifdef TCPDEBUG 667 if (so->so_options & SO_DEBUG) { 668 ostate = tp->t_state; --- 2134 unchanged lines hidden --- |