PASAHO IP Fragmentation Command Macros
[PA/SA/Host Macros]

PASAHO IP Fragmentation Command Macros

Macros used by the PASAHO IP Fragmentation Command



#define PASAHO_SET_SUB_CODE_IP_FRAG(x)   PASAHO_SET_BITFIELD((x)->word0, PASAHO_SUB_CMD_IP_FRAG, 24, 5)
#define PASAHO_SET_SUB_CODE(x, v)   PASAHO_SET_BITFIELD((x)->word0, (v), 24, 5)
#define PASAHO_SET_IP_OFFSET(x, v)   PASAHO_SET_BITFIELD((x)->word0, (v), 16, 8)
#define PASAHO_SET_MTU_SIZE(x, v)   PASAHO_SET_BITFIELD((x)->word0, (v), 0, 16)

Define Documentation

#define PASAHO_SET_IP_OFFSET ( x,
 )     PASAHO_SET_BITFIELD((x)->word0, (v), 16, 8)

Specifies the offset to the IP header to be fragmented

#define PASAHO_SET_MTU_SIZE ( x,
 )     PASAHO_SET_BITFIELD((x)->word0, (v), 0, 16)

Specifies the MTU size

#define PASAHO_SET_SUB_CODE ( x,
 )     PASAHO_SET_BITFIELD((x)->word0, (v), 24, 5)

Specifies the sub-command code

#define PASAHO_SET_SUB_CODE_IP_FRAG (  )     PASAHO_SET_BITFIELD((x)->word0, PASAHO_SUB_CMD_IP_FRAG, 24, 5)

Set sub-command code to indicate IP Fragmentation command


Copyright 2012, Texas Instruments Incorporated