-/* $OpenBSD: in_pcb.c,v 1.253 2021/01/25 03:40:46 dlg Exp $ */
+/* $OpenBSD: in_pcb.c,v 1.254 2021/02/11 10:41:19 patrick Exp $ */
/* $NetBSD: in_pcb.c,v 1.25 1996/02/13 23:41:53 christos Exp $ */
/*
inp->inp_fport = sin->sin_port;
in_pcbrehash(inp);
#if NSTOEPLITZ > 0
- inp->inp_flowid = stoeplitz_ip4port(inp->inp_laddr.s_addr,
- inp->inp_faddr.s_addr, inp->inp_lport, inp->inp_fport);
+ inp->inp_flowid = stoeplitz_ip4port(inp->inp_faddr.s_addr,
+ inp->inp_laddr.s_addr, inp->inp_fport, inp->inp_lport);
#endif
#ifdef IPSEC
{
-/* $OpenBSD: in6_pcb.c,v 1.111 2021/01/25 03:40:47 dlg Exp $ */
+/* $OpenBSD: in6_pcb.c,v 1.112 2021/02/11 10:41:19 patrick Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
inp->inp_flowinfo |=
(htonl(ip6_randomflowlabel()) & IPV6_FLOWLABEL_MASK);
#if NSTOEPLITZ > 0
- inp->inp_flowid = stoeplitz_ip6port(&inp->inp_laddr6,
- &inp->inp_faddr6, inp->inp_lport, inp->inp_fport);
+ inp->inp_flowid = stoeplitz_ip6port(&inp->inp_faddr6,
+ &inp->inp_laddr6, inp->inp_fport, inp->inp_lport);
#endif
in_pcbrehash(inp);
return (0);