]> The Tcpdump Group git mirrors - tcpdump/commit
OpenFlow 1.0: Simplify the snapend management. [skip ci]
authorDenis Ovsienko <[email protected]>
Mon, 25 Jan 2021 12:51:54 +0000 (12:51 +0000)
committerDenis Ovsienko <[email protected]>
Mon, 25 Jan 2021 12:51:54 +0000 (12:51 +0000)
commit6c982c49c695e958f6e881874b7ba1cc447588a0
tree87b4fbe09df8753c65db52cb6cbfb0287f4ab92b
parent8acaf603f7d2dea4fbed984c7f775497826f03bf
OpenFlow 1.0: Simplify the snapend management. [skip ci]

As Guy explains it, nd_push_snapend() makes it easy to save and to
restore the snapend from different functions or different invocations
of the same function. In a simple case a local variable and ND_MIN()
do the job just as well without the associated memory management and
error checking.
print-openflow-1.0.c