mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8290349: IP_DONTFRAGMENT doesn't set DF bit in IPv4 header
Reviewed-by: michaelm, alanb
This commit is contained in:
parent
26e5c112da
commit
ce61eb6ff9
9 changed files with 74 additions and 134 deletions
|
@ -133,11 +133,11 @@ public abstract class ExtendedSocketOptions {
|
|||
}
|
||||
|
||||
/** Sets the value of a socket option, for the given socket. */
|
||||
public abstract void setOption(FileDescriptor fd, SocketOption<?> option, Object value)
|
||||
public abstract void setOption(FileDescriptor fd, SocketOption<?> option, Object value, boolean isIPv6)
|
||||
throws SocketException;
|
||||
|
||||
/** Returns the value of a socket option, for the given socket. */
|
||||
public abstract Object getOption(FileDescriptor fd, SocketOption<?> option)
|
||||
public abstract Object getOption(FileDescriptor fd, SocketOption<?> option, boolean isIPv6)
|
||||
throws SocketException;
|
||||
|
||||
protected ExtendedSocketOptions(Set<SocketOption<?>> options) {
|
||||
|
@ -206,7 +206,7 @@ public abstract class ExtendedSocketOptions {
|
|||
}
|
||||
|
||||
@Override
|
||||
public void setOption(FileDescriptor fd, SocketOption<?> option, Object value)
|
||||
public void setOption(FileDescriptor fd, SocketOption<?> option, Object value, boolean isIPv6)
|
||||
throws SocketException
|
||||
{
|
||||
throw new UnsupportedOperationException(
|
||||
|
@ -214,7 +214,7 @@ public abstract class ExtendedSocketOptions {
|
|||
}
|
||||
|
||||
@Override
|
||||
public Object getOption(FileDescriptor fd, SocketOption<?> option)
|
||||
public Object getOption(FileDescriptor fd, SocketOption<?> option, boolean isIPv6)
|
||||
throws SocketException
|
||||
{
|
||||
throw new UnsupportedOperationException(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue