"jump" vs "goto" vs "call"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: "jump" vs "goto" vs "call"
- From: Robert White <rwhite@xxxxxxxxx>
- Date: Sat, 8 Dec 2018 01:35:41 +0000
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0
In programming "jump" and "goto" mean "do that and don't come back";
meanwhile "call" comes back via "return".
I think the world would be better if nftables were to implement "call"
as identical to current "jump" in verdicts and such, and depricate the
word "jump" all together.
It's always nagged at me a little that iptables can return from a jump.
This is a piece of confusing baggage that should go away now before
there's too much precedent in the new implementation.
[Index of Archives]
[Linux Netfilter Development]
[Linux Kernel Networking Development]
[Netem]
[Berkeley Packet Filter]
[Linux Kernel Development]
[Advanced Routing & Traffice Control]
[Bugtraq]