summaryrefslogtreecommitdiff
path: root/Template
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2015-10-14 11:24:38 +0200
committerTobias Klauser <tklauser@distanz.ch>2015-10-14 11:24:38 +0200
commitdc2ac62da99712b8f3d7ecf0fbf9904e143869e1 (patch)
treeca81ab6b4512637c81f705b45cd3fb453b78c402 /Template
parent68bc34c0e88b6eff8279201bdc2d16dab7a4dd68 (diff)
trafgen: Move checking of dynamic packet elements to header
Move has_dynamic_elems() to to trafgen_conf.h, rename it to packet_dyn_has_elems() and use it to check whether dynamic packet elements are present. Also change the return type to bool and use || instead of + to potentially make use of short-circuit evaluation. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'Template')
0 files changed, 0 insertions, 0 deletions
s-private-remove&id=1fc576b82b96d9bb033ff0098e1c0bf68de282b2'>ib_user_cm.h6526logplain -rw-r--r--ib_user_mad.h8791logplain -rw-r--r--ib_user_sa.h2222logplain -rw-r--r--ib_user_verbs.h21586logplain -rw-r--r--mlx4-abi.h2864logplain