Skip to content

Instantly share code, notes, and snippets.

View sudarshan-suresh's full-sized avatar

Sudarshan sudarshan-suresh

  • Talentica
  • Pune
View GitHub Profile
@sudarshan-suresh
sudarshan-suresh / ether.py
Last active March 15, 2023 07:02
Retrieve data from encoded packet data without using third party libraries
# simple class to retrive data from hexcode ,in this section it will retrieve source mac address , destination mac address
from com.talentica.ether_types import ether_types
from com.talentica.helper import create_hexcode_from_decoded_data_latin1
class Ether:
# IEEE standard 802.1Q-2005
ether_vlan_priorities = {
0: 'Best Effort',
@sudarshan-suresh
sudarshan-suresh / Employee.java
Last active October 13, 2022 13:54
An introduction to Kryo
/* A simple Employee class */
public class Employee {
private String name;
private Date birthDate;
}