- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 798 for packet (0.29 seconds)
-
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; /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.3K bytes - Click Count (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");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.5K bytes - Click Count (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;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.2K bytes - Click Count (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
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java
} byte[] packet = new byte[totalLen]; System.arraycopy(header, 0, packet, 0, header.length); System.arraycopy(body, 0, packet, SMB2_HEADER_LENGTH, body.length); if (ctxOffsetFromHeader != null && ctxBytes != null) { System.arraycopy(ctxBytes, 0, packet, ctxOffsetFromHeader, ctxBytes.length); } return packet; } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (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);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (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() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3K bytes - Click Count (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 */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.3K bytes - Click Count (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;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.7K bytes - Click Count (0) -
src/main/java/jcifs/smb1/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;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.2K bytes - Click Count (0)