[esock] (get) IOCTL Function generation macro
[esock] (get) IOCTL Function generation macro

Most of the function(s) handling each ioctl get request
where almost identical. So, instead of doing copy-and-paste
programming we use a function generation macro.

OTP-17528

potatosalad/otp,jj1bdx/otp,jj1bdx/otp,dgud/otp,dgud/otp,jj1bdx/otp,bjorng/otp,vinoski/otp,mikpe/otp,g-andrade/otp,erlang/otp,erlang/otp,bjorng/otp,dumbbell/otp,rlipscombe/otp,jj1bdx/otp,bjorng/otp,dgud/otp,erlang/otp,rlipscombe/otp,bjorng/otp,dumbbell/otp,emacsmirror/erlang,potatosalad/otp,rlipscombe/otp,vinoski/otp,rlipscombe/otp,emacsmirror/erlang,g-andrade/otp,dumbbell/otp,potatosalad/otp,jj1bdx/otp,isvilen/otp,potatosalad/otp,jj1bdx/otp,emacsmirror/erlang,mikpe/otp,jj1bdx/otp,erlang/otp,isvilen/otp,vinoski/otp,dgud/otp,emacsmirror/erlang,mikpe/otp,mikpe/otp,rlipscombe/otp,isvilen/otp,erlang/otp,g-andrade/otp,emacsmirror/erlang,vinoski/otp,rlipscombe/otp,mikpe/otp,g-andrade/otp,dumbbell/otp,potatosalad/otp,g-andrade/otp,dumbbell/otp,vinoski/otp,dgud/otp,vinoski/otp,potatosalad/otp,bjorng/otp,g-andrade/otp,isvilen/otp,dumbbell/otp,rlipscombe/otp,vinoski/otp,emacsmirror/erlang,rlipscombe/otp,emacsmirror/erlang,dgud/otp,g-andrade/otp,potatosalad/otp,potatosalad/otp,bjorng/otp,mikpe/otp,mikpe/otp,erlang/otp,erlang/otp,dgud/otp,jj1bdx/otp,dgud/otp,dgud/otp,jj1bdx/otp,mikpe/otp,erlang/otp,bjorng/otp,isvilen/otp,potatosalad/otp,bjorng/otp,vinoski/otp,dumbbell/otp,emacsmirror/erlang,mikpe/otp,bjorng/otp,dumbbell/otp,erlang/otp,g-andrade/otp,g-andrade/otp,potatosalad/otp,emacsmirror/erlang,isvilen/otp,dumbbell/otp,emacsmirror/erlang,isvilen/otp,rlipscombe/otp,erlang/otp,mikpe/otp,dumbbell/otp,dgud/otp,bjorng/otp,rlipscombe/otp,isvilen/otp,vinoski/otp,jj1bdx/otp,isvilen/otp,g-andrade/otp,isvilen/otp,vinoski/otp