Searched refs:add_attribute_u16 (Results 1 – 1 of 1) sorted by relevance
157 static void add_attribute_u16(uint16_t attribute, uint16_t value) in add_attribute_u16() function327 add_attribute_u16(PROTOCOL_VERSION, htons(0x0100)); in l2tp_connect()330 add_attribute_u16(ASSIGNED_TUNNEL, local_tunnel); in l2tp_connect()331 add_attribute_u16(WINDOW_SIZE, htons(1)); in l2tp_connect()491 add_attribute_u16(ASSIGNED_SESSION, local_session); in l2tp_process()520 add_attribute_u16(ASSIGNED_SESSION, 0); in l2tp_process()557 add_attribute_u16(ASSIGNED_TUNNEL, local_tunnel); in l2tp_shutdown()558 add_attribute_u16(RESULT_CODE, htons(6)); in l2tp_shutdown()