DOKK / manpages / debian 11 / systemtap-doc / function::sock_prot_str2num.3stap.en
FUNCTION::SOCK_PROT_(3stap) Socket Tapset FUNCTION::SOCK_PROT_(3stap)

function::sock_prot_str2num - Given a protocol name (string), return the corresponding protocol number


sock_prot_str2num:long(proto:string)

proto

The protocol name

tapset::socket(3stap)

November 2020 SystemTap Tapset Reference