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

# probe::tcpmib.InSegs(3stap)

Count an incoming tcp segment

## NAME

probe::tcpmib.InSegs - Count an incoming tcp segment

## SYNOPSIS

```
tcpmib.InSegs
```

## VALUES

*sk*

pointer to the struct sock being acted on

*op*

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

## DESCRIPTION

The packet pointed to by *skb* is filtered by the function **tcpmib\_filter\_key** (or **ipmib\_filter\_key** for tcp v4). If the packet passes the filter is is counted in the global *InSegs* (equivalent to SNMP's MIB TCP\_MIB\_INSEGS)

## SEE ALSO0

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