in6_pcb.c (f161d294b92732df6254a89f393ab24999e122bf) | in6_pcb.c (04389c855e56d1715637fa43575ec13455a68b2e) |
---|---|
1/*- 2 * SPDX-License-Identifier: BSD-3-Clause 3 * 4 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. 5 * Copyright (c) 2010-2011 Juniper Networks, Inc. 6 * All rights reserved. 7 * 8 * Portions of this software were developed by Robert N. M. Watson under --- 685 unchanged lines hidden (view full) --- 694 * XXX: should we avoid to notify the value to TCP sockets? 695 */ 696 if (cmd == PRC_MSGSIZE && cmdarg != NULL) 697 ip6_notify_pmtu(inp, (struct sockaddr_in6 *)dst, 698 *(u_int32_t *)cmdarg); 699 700 /* 701 * Detect if we should notify the error. If no source and | 1/*- 2 * SPDX-License-Identifier: BSD-3-Clause 3 * 4 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. 5 * Copyright (c) 2010-2011 Juniper Networks, Inc. 6 * All rights reserved. 7 * 8 * Portions of this software were developed by Robert N. M. Watson under --- 685 unchanged lines hidden (view full) --- 694 * XXX: should we avoid to notify the value to TCP sockets? 695 */ 696 if (cmd == PRC_MSGSIZE && cmdarg != NULL) 697 ip6_notify_pmtu(inp, (struct sockaddr_in6 *)dst, 698 *(u_int32_t *)cmdarg); 699 700 /* 701 * Detect if we should notify the error. If no source and |
702 * destination ports are specifed, but non-zero flowinfo and | 702 * destination ports are specified, but non-zero flowinfo and |
703 * local address match, notify the error. This is the case 704 * when the error is delivered with an encrypted buffer 705 * by ESP. Otherwise, just compare addresses and ports 706 * as usual. 707 */ 708 if (lport == 0 && fport == 0 && flowinfo && 709 inp->inp_socket != NULL && 710 flowinfo == (inp->inp_flow & IPV6_FLOWLABEL_MASK) && --- 696 unchanged lines hidden --- | 703 * local address match, notify the error. This is the case 704 * when the error is delivered with an encrypted buffer 705 * by ESP. Otherwise, just compare addresses and ports 706 * as usual. 707 */ 708 if (lport == 0 && fport == 0 && flowinfo && 709 inp->inp_socket != NULL && 710 flowinfo == (inp->inp_flow & IPV6_FLOWLABEL_MASK) && --- 696 unchanged lines hidden --- |