Lines Matching refs:htons
225 info->port_set.p16.src = htons(cb->val.u16); in HMARK_parse()
229 info->port_set.p16.dst = htons(cb->val.u16); in HMARK_parse()
233 info->port_mask.p16.src = htons(cb->val.u16); in HMARK_parse()
237 info->port_mask.p16.dst = htons(cb->val.u16); in HMARK_parse()
293 printf("sport-mask 0x%x ", htons(info->port_mask.p16.src)); in HMARK_print()
295 printf("dport-mask 0x%x ", htons(info->port_mask.p16.dst)); in HMARK_print()
299 printf("sport 0x%x ", htons(info->port_set.p16.src)); in HMARK_print()
301 printf("dport 0x%x ", htons(info->port_set.p16.dst)); in HMARK_print()
357 htons(info->port_mask.p16.src)); in HMARK_save()
360 htons(info->port_mask.p16.dst)); in HMARK_save()
366 htons(info->port_set.p16.src)); in HMARK_save()
369 htons(info->port_set.p16.dst)); in HMARK_save()