ng_nat.c (662c13053f4bf2d6245ba7e2b66c10d1cd5c1fb9) | ng_nat.c (5fe433a6e4d8cab6b64284698301afc0c55a9db2) |
---|---|
1/*- 2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD 3 * 4 * Copyright 2005, Gleb Smirnoff <glebius@FreeBSD.org> 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 947 unchanged lines hidden (view full) --- 956 if (x & NG_NAT_UNREGISTERED_ONLY) 957 res |= PKT_ALIAS_UNREGISTERED_ONLY; 958 if (x & NG_NAT_RESET_ON_ADDR_CHANGE) 959 res |= PKT_ALIAS_RESET_ON_ADDR_CHANGE; 960 if (x & NG_NAT_PROXY_ONLY) 961 res |= PKT_ALIAS_PROXY_ONLY; 962 if (x & NG_NAT_REVERSE) 963 res |= PKT_ALIAS_REVERSE; | 1/*- 2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD 3 * 4 * Copyright 2005, Gleb Smirnoff <glebius@FreeBSD.org> 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 947 unchanged lines hidden (view full) --- 956 if (x & NG_NAT_UNREGISTERED_ONLY) 957 res |= PKT_ALIAS_UNREGISTERED_ONLY; 958 if (x & NG_NAT_RESET_ON_ADDR_CHANGE) 959 res |= PKT_ALIAS_RESET_ON_ADDR_CHANGE; 960 if (x & NG_NAT_PROXY_ONLY) 961 res |= PKT_ALIAS_PROXY_ONLY; 962 if (x & NG_NAT_REVERSE) 963 res |= PKT_ALIAS_REVERSE; |
964 if (x & NG_NAT_UNREGISTERED_CGN) 965 res |= PKT_ALIAS_UNREGISTERED_CGN; |
|
964 965 return (res); 966} | 966 967 return (res); 968} |