ucspi-ssl
0.99e
TLS encryption for IPv6 communication
ucspi-ssl-0.99e
src
uint16_pack.c
Go to the documentation of this file.
1
#include "
uint16.h
"
2
3
void
uint16_pack
(
char
s[2],
uint16
u)
4
{
5
s[0] = u & 255;
6
s[1] = u >> 8;
7
}
8
9
void
uint16_pack_big
(
char
s[2],
uint16
u)
10
{
11
s[1] = u & 255;
12
s[0] = u >> 8;
13
}
uint16_pack
void uint16_pack(char s[2], uint16 u)
Definition:
uint16_pack.c:3
uint16.h
uint16_pack_big
void uint16_pack_big(char s[2], uint16 u)
Definition:
uint16_pack.c:9
uint16
unsigned short uint16
Definition:
uint16.h:4
Generated on Wed Jul 11 2018 22:50:46 for ucspi-ssl by
1.8.13