HomeFreeBSD

pf: add sctp multihome probe points

Description

pf: add sctp multihome probe points

Add probe points to allow us to probe when we add or remove multihome addresses.

Example use:
pf:sctp:multihome:add
{

		printf("Add tag %x address %x", arg0,
		    ((struct pf_sctp_source *)arg1)->addr.v4.s_addr);

}

pf:sctp:multihome:remove
{

		printf("Remove tag %x address %x", arg0,
		    ((struct pf_sctp_source *)arg2)->addr.v4.s_addr);

}

MFC after: 1 week
Sponsored by: Orange Business Services

(cherry picked from commit f042e1515433456dca4a2be8ec8ac60c75860304)

Details

Provenance
kpAuthored on Thu, Jun 6, 3:35 PM
Parents
rG170a7f2ec185: ifconfig(8): wordsmith -G and -g descriptions
Branches
Unknown
Tags
Unknown