Skip to content

Commit

Permalink
fix: add missing AddressFamily declaration (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
rotu authored Nov 14, 2023
1 parent afde42c commit 5d4682b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,13 @@ export function writeChecksum(

export function createChecksum(...args: Buffer[]): number;

export interface TAddressFamily {
IPv4: number;
IPv6: number;
}

export const AddressFamily: TAddressFamily;

export interface TProtocol {
ICMP: number;
TCP: number;
Expand Down

0 comments on commit 5d4682b

Please sign in to comment.