Home
last modified time | relevance | path

Searched refs:OPTION_LEN_BYTES (Results 1 – 1 of 1) sorted by relevance

/f-stack/freebsd/netinet/libalias/
H A Dalias_proxy.c382 #define OPTION_LEN_BYTES 8 in ProxyEncodeIpHeader() macro
385 _Alignas(_Alignof(u_short)) u_char option[OPTION_LEN_BYTES]; in ProxyEncodeIpHeader()
405 memcpy(ptr + OPTION_LEN_BYTES, ptr, ntohs(pip->ip_len) - 20); in ProxyEncodeIpHeader()
408 option[1] = OPTION_LEN_BYTES; in ProxyEncodeIpHeader()
435 pip->ip_len = htons(ntohs(pip->ip_len) + OPTION_LEN_BYTES); in ProxyEncodeIpHeader()
440 #undef OPTION_LEN_BYTES in ProxyEncodeIpHeader()