blob: 9347cef32aae22085a580415da6280b729a4ca61 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
/* ISC license. */
#include <sys/types.h>
#include <stdint.h>
#include <skalibs/uint32.h>
#include <skalibs/fmtscan.h>
size_t ip4_fmtu32 (char *s, uint32_t ip)
{
char pack[4] ;
uint32_pack_big(pack, ip) ;
return ip4_fmt(s, pack) ;
}
|