Lines Matching refs:tfe
1194 struct tflow_entry *tfe; in tentry_fill_key_type() local
1277 tfe = &tentry->k.flow; in tentry_fill_key_type()
1290 memcpy(&tfe->a.a4.sip, &tmp, 4); in tentry_fill_key_type()
1296 memcpy(&tfe->a.a6.sip6, &tmp, 16); in tentry_fill_key_type()
1321 tfe->proto = key; in tentry_fill_key_type()
1340 tfe->sport = port; in tentry_fill_key_type()
1356 memcpy(&tfe->a.a4.dip, &tmp, 4); in tentry_fill_key_type()
1362 memcpy(&tfe->a.a6.dip6, &tmp, 16); in tentry_fill_key_type()
1382 tfe->dport = port; in tentry_fill_key_type()
1386 tfe->af = af; in tentry_fill_key_type()
1904 struct tflow_entry *tfe; in table_show_entry() local
1932 tfe = &tent->k.flow; in table_show_entry()
1936 if (tfe->af == AF_INET) in table_show_entry()
1937 paddr = &tfe->a.a4.sip; in table_show_entry()
1939 paddr = &tfe->a.a6.sip6; in table_show_entry()
1941 inet_ntop(tfe->af, paddr, tbuf, sizeof(tbuf)); in table_show_entry()
1947 printf("%s%d", comma, tfe->proto); in table_show_entry()
1952 printf("%s%d", comma, ntohs(tfe->sport)); in table_show_entry()
1956 if (tfe->af == AF_INET) in table_show_entry()
1957 paddr = &tfe->a.a4.dip; in table_show_entry()
1959 paddr = &tfe->a.a6.dip6; in table_show_entry()
1961 inet_ntop(tfe->af, paddr, tbuf, sizeof(tbuf)); in table_show_entry()
1967 printf("%s%d", comma, ntohs(tfe->dport)); in table_show_entry()