- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 239 for packet (0.68 sec)
-
src/main/java/jcifs/dcerpc/DcerpcConstants.java
int DCERPC_OBJECT_UUID = 0x80; /* if true, a non-nil object UUID */ // Packet Types (ptype) /** * Request packet type */ int RPC_PT_REQUEST = 0x00; /** * Ping packet type */ int RPC_PT_PING = 0x01; /** * Response packet type */ int RPC_PT_RESPONSE = 0x02; /** * Fault packet type - indicates an error */ int RPC_PT_FAULT = 0x03; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.3K bytes - Viewed (0) -
src/main/java/jcifs/netbios/SessionServicePacket.java
// session service packet types static final int SESSION_MESSAGE = 0x00; static final int SESSION_REQUEST = 0x81; /** * NetBIOS positive session response packet type. */ public static final int POSITIVE_SESSION_RESPONSE = 0x82; /** * NetBIOS negative session response packet type. */ public static final int NEGATIVE_SESSION_RESPONSE = 0x83; static final int SESSION_RETARGET_RESPONSE = 0x84;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcConstantsTest.java
} @Test @DisplayName("All RPC packet flags should have unique values") void testRpcPacketFlagsUniqueness() { // Verify that RPC packet flags are unique and follow bit pattern assertEquals(1, Integer.bitCount(DcerpcConstants.RPC_C_PF_BROADCAST), "RPC_C_PF_BROADCAST should be a single bit");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.5K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionServicePacketTest.java
int totalRead = packet.readWireFormat(bais, data, 0); assertEquals(14, totalRead); // 4 header + 10 trailer assertEquals(0x85, packet.type); assertEquals(10, packet.length); } @Test @DisplayName("writeHeaderWireFormat should write correct header") void testWriteHeaderWireFormat() { packet.type = SessionServicePacket.SESSION_REQUEST;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.5K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionRetargetResponsePacketTest.java
// Test that the constructor correctly initializes the type and length fields. SessionRetargetResponsePacket packet = new SessionRetargetResponsePacket(); assertEquals(SessionServicePacket.SESSION_RETARGET_RESPONSE, packet.type); assertEquals(6, packet.length); } @Test void writeTrailerWireFormatShouldReturnZero() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameServicePacketTest.java
packet.nameTrnId = 0x1234; packet.isResponse = true; packet.opCode = NameServicePacket.QUERY; packet.isAuthAnswer = true; packet.isTruncated = true; packet.isRecurDesired = true; packet.isRecurAvailable = true; packet.isBroadcast = true; packet.resultCode = NameServicePacket.FMT_ERR; packet.questionCount = 1; packet.answerCount = 2;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.9K bytes - Viewed (0) -
src/main/java/jcifs/netbios/SessionRequestPacket.java
*/ package jcifs.netbios; import java.io.IOException; import java.io.InputStream; import jcifs.Configuration; import jcifs.NetbiosName; /** * NetBIOS session request packet implementation. * This packet is used to initiate NetBIOS session connections. */ public class SessionRequestPacket extends SessionServicePacket { private final Name calledName, callingName;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java
byte[] packet = new byte[header.length + body.length]; System.arraycopy(header, 0, packet, 0, header.length); System.arraycopy(body, 0, packet, header.length, body.length); BaseConfiguration config = new BaseConfiguration(true); Smb2IoctlResponse resp = new Smb2IoctlResponse(config); int read = resp.decode(packet, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcMessage.java
*/ protected int alloc_hint = 0; /** * The result code of the DCERPC operation */ protected int result = 0; /** * Gets the packet type of this DCERPC message * @return the packet type */ public int getPtype() { return ptype; } /** * Gets the flags of this DCERPC message * @return the message flags */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.3K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionRequestPacketTest.java
void testConstructorWithConfigOnly() { SessionRequestPacket packet = new SessionRequestPacket(mockConfig); assertNotNull(packet); // The packet should have calledName and callingName initialized but empty byte[] dst = new byte[256]; int written = packet.writeTrailerWireFormat(dst, 0); assertTrue(written > 0); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0)