FUNCTION::SOCK_PROT_(3stap) Socket Tapset FUNCTION::SOCK_PROT_(3stap)

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

SYNOPSIS sock_prot_str2num:long(proto:string)

ARGUMENTS proto The protocol name

SystemTap Tapset Reference October 2012 FUNCTION::SOCK_PROT_(3stap)