exthdrs.c (6f3934576853a4fa60dea74ac8822f0f016ef9e8) | exthdrs.c (b51cd7c834dba0ec9300337e16e5aa5bf65bd04c) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-or-later 2/* 3 * Extension Header handling for IPv6 4 * Linux INET6 implementation 5 * 6 * Authors: 7 * Pedro Roque <roque@di.fc.ul.pt> 8 * Andi Kleen <ak@muc.de> --- 1218 unchanged lines hidden (view full) --- 1227 1228/** 1229 * ipv6_renew_options - replace a specific ext hdr with a new one. 1230 * 1231 * @sk: sock from which to allocate memory 1232 * @opt: original options 1233 * @newtype: option type to replace in @opt 1234 * @newopt: new option of type @newtype to replace (user-mem) | 1// SPDX-License-Identifier: GPL-2.0-or-later 2/* 3 * Extension Header handling for IPv6 4 * Linux INET6 implementation 5 * 6 * Authors: 7 * Pedro Roque <roque@di.fc.ul.pt> 8 * Andi Kleen <ak@muc.de> --- 1218 unchanged lines hidden (view full) --- 1227 1228/** 1229 * ipv6_renew_options - replace a specific ext hdr with a new one. 1230 * 1231 * @sk: sock from which to allocate memory 1232 * @opt: original options 1233 * @newtype: option type to replace in @opt 1234 * @newopt: new option of type @newtype to replace (user-mem) |
1235 * @newoptlen: length of @newopt | |
1236 * 1237 * Returns a new set of options which is a copy of @opt with the 1238 * option type @newtype replaced with @newopt. 1239 * 1240 * @opt may be NULL, in which case a new set of options is returned 1241 * containing just @newopt. 1242 * 1243 * @newopt may be NULL, in which case the specified option type is --- 122 unchanged lines hidden --- | 1235 * 1236 * Returns a new set of options which is a copy of @opt with the 1237 * option type @newtype replaced with @newopt. 1238 * 1239 * @opt may be NULL, in which case a new set of options is returned 1240 * containing just @newopt. 1241 * 1242 * @newopt may be NULL, in which case the specified option type is --- 122 unchanged lines hidden --- |