Searched refs:writelength (Results 1 – 2 of 2) sorted by relevance
/freebsd/sbin/ipf/libipf/ |
H A D | save_v2trap.c | 15 static int writelength(u_char *, u_int); 230 writelength(u_char *buffer, u_int value) in writelength() function 389 writelength(s, len); in maketrap_v2() 409 n = writelength(t, msglen); in maketrap_v2() 415 writelength(s, len); in maketrap_v2() 418 writelength(varlen, len); /* pdu length */ in maketrap_v2() 421 writelength(pdulen, len); /* pdu length */ in maketrap_v2() 424 writelength(buffer + 1, len); /* length of trap */ in maketrap_v2()
|
H A D | save_v1trap.c | 16 static int writelength(u_char *, u_int); 228 writelength(u_char *buffer, u_int value) in writelength() function 393 writelength(s, len); in maketrap_v1() 408 n = writelength(t, msglen); in maketrap_v1() 414 writelength(s, len); in maketrap_v1() 417 writelength(varlen, len); /* pdu length */ in maketrap_v1() 420 writelength(pdulen, len); /* pdu length */ in maketrap_v1() 423 writelength(buffer + 1, len); /* length of trap */ in maketrap_v1()
|