Lines Matching refs:htons
141 *p++ = htons(flowset_size); /* Total FlowSet length */
146 *p++ = htons(NETFLOW_V9_MAX_RESERVED_FLOWSET + NETFLOW_V9_FLOW_V4_L4);
149 *p++ = htons(_netflow_v9_record_ipv4_tcp[cnt].field_id);
150 *p++ = htons(_netflow_v9_record_ipv4_tcp[cnt].field_length);
152 *template_fields_cnt = htons(cnt);
157 *p++ = htons(NETFLOW_V9_MAX_RESERVED_FLOWSET + NETFLOW_V9_FLOW_V6_L4);
160 *p++ = htons(_netflow_v9_record_ipv6_tcp[cnt].field_id);
161 *p++ = htons(_netflow_v9_record_ipv6_tcp[cnt].field_length);
163 *template_fields_cnt = htons(cnt);
190 *flowset_length = htons(len);
224 header->count = htons(t->count);
274 rec->i_ifx = htons(fed->fle_i_ifx);
275 rec->o_ifx = htons(fed->fle_o_ifx);
305 rec->i_ifx = htons(fed6->fle_i_ifx);
306 rec->o_ifx = htons(fed6->fle_o_ifx);
345 fsh.id = htons(NETFLOW_V9_MAX_RESERVED_FLOWSET + flow_type);
407 dgram->header.version = htons(NETFLOW_V9);