Lines Matching refs:tfe
1185 struct tflow_entry *tfe; in tentry_fill_key_type() local
1250 tfe = &tentry->k.flow; in tentry_fill_key_type()
1263 memcpy(&tfe->a.a4.sip, &tmp, 4); in tentry_fill_key_type()
1269 memcpy(&tfe->a.a6.sip6, &tmp, 16); in tentry_fill_key_type()
1294 tfe->proto = key; in tentry_fill_key_type()
1313 tfe->sport = port; in tentry_fill_key_type()
1329 memcpy(&tfe->a.a4.dip, &tmp, 4); in tentry_fill_key_type()
1335 memcpy(&tfe->a.a6.dip6, &tmp, 16); in tentry_fill_key_type()
1355 tfe->dport = port; in tentry_fill_key_type()
1359 tfe->af = af; in tentry_fill_key_type()
1875 struct tflow_entry *tfe; in table_show_entry() local
1896 tfe = &tent->k.flow; in table_show_entry()
1900 if (tfe->af == AF_INET) in table_show_entry()
1901 paddr = &tfe->a.a4.sip; in table_show_entry()
1903 paddr = &tfe->a.a6.sip6; in table_show_entry()
1905 inet_ntop(tfe->af, paddr, tbuf, sizeof(tbuf)); in table_show_entry()
1911 printf("%s%d", comma, tfe->proto); in table_show_entry()
1916 printf("%s%d", comma, ntohs(tfe->sport)); in table_show_entry()
1920 if (tfe->af == AF_INET) in table_show_entry()
1921 paddr = &tfe->a.a4.dip; in table_show_entry()
1923 paddr = &tfe->a.a6.dip6; in table_show_entry()
1925 inet_ntop(tfe->af, paddr, tbuf, sizeof(tbuf)); in table_show_entry()
1931 printf("%s%d", comma, ntohs(tfe->dport)); in table_show_entry()