MCPcopy Create free account
hub / github.com/encodeous/nylon / SetMark

Method SetMark

polyamide/conn/conn.go:46–46  ·  view source on GitHub ↗

SetMark sets the mark for each packet sent through this Bind. This mark is passed to the kernel as the socket option SO_MARK.

(mark uint32)

Source from the content-addressed store, hash-verified

44 // SetMark sets the mark for each packet sent through this Bind.
45 // This mark is passed to the kernel as the socket option SO_MARK.
46 SetMark(mark uint32) error
47
48 // Send writes one or more packets in bufs to address ep. The length of
49 // bufs must not exceed BatchSize().

Callers 2

BindSetMarkMethod · 0.65
BindUpdateMethod · 0.65

Implementers 5

StdNetBindpolyamide/conn/bind_std.go
WinRingBindpolyamide/conn/bind_windows.go
ChannelBind2polyamide/conn/bindtest/bindtest2.go
ChannelBindpolyamide/conn/bindtest/bindtest.go
fakeBindSizedpolyamide/device/device_test.go

Calls

no outgoing calls

Tested by

no test coverage detected