DOKK / manpages / debian 10 / 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)

October 2018 SystemTap Tapset Reference