Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
labs
BIRD Internet Routing Daemon
Commits
94e935d8
Commit
94e935d8
authored
May 08, 2000
by
Martin Mareš
Browse files
Incoming buffer must be at least 8KB long.
parent
916c8c0a
Changes
1
Hide whitespace changes
Inline
Side-by-side
sysdep/linux/netlink/netlink.c
View file @
94e935d8
...
@@ -42,7 +42,7 @@ static int nl_sync_fd = -1; /* Unix socket for synchronous netlink actions */
...
@@ -42,7 +42,7 @@ static int nl_sync_fd = -1; /* Unix socket for synchronous netlink actions */
static
u32
nl_sync_seq
;
/* Sequence number of last request sent */
static
u32
nl_sync_seq
;
/* Sequence number of last request sent */
static
byte
*
nl_rx_buffer
;
/* Receive buffer */
static
byte
*
nl_rx_buffer
;
/* Receive buffer */
#define NL_RX_SIZE
2048
#define NL_RX_SIZE
8192
static
struct
nlmsghdr
*
nl_last_hdr
;
/* Recently received packet */
static
struct
nlmsghdr
*
nl_last_hdr
;
/* Recently received packet */
static
unsigned
int
nl_last_size
;
static
unsigned
int
nl_last_size
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment