---
name: "probe::tcpmib.ActiveOpens"
section: "3stap"
platform: "linux"
package: "systemtap-doc"
version: "5.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/probe::tcpmib.ActiveOpens"
---

# probe::tcpmib.ActiveOpens(3stap)

Count an active opening of a socket

## NAME

probe::tcpmib.ActiveOpens - Count an active opening of a socket

## SYNOPSIS

```
tcpmib.ActiveOpens
```

## VALUES

*op*

value to be added to the counter (default value of 1)

*sk*

pointer to the struct sock being acted on

## DESCRIPTION

The packet pointed to by *skb* is filtered by the function **tcpmib\_filter\_key**. If the packet passes the filter is is counted in the global *ActiveOpens* (equivalent to SNMP's MIB TCP\_MIB\_ACTIVEOPENS)

## SEE ALSO0

[*tapset::tcpmib*(3stap)](/tapset::tcpmib/3stap.md)
