共用方式為


IP_DISCARD_REASON列舉 (fwpsu.h)

定義其中一個網路層捨棄數據的可能原因。

Syntax

typedef enum {
  IpDiscardBadSourceAddress,
  IpDiscardNotLocallyDestined,
  IpDiscardProtocolUnreachable,
  IpDiscardPortUnreachable,
  IpDiscardBadLength,
  IpDiscardMalformedHeader,
  IpDiscardNoRoute,
  IpDiscardBeyondScope,
  IpDiscardInspectionDrop,
  IpDiscardTooManyDecapsulations,
  IpDiscardAdministrativelyProhibited,
  IpDiscardBadChecksum,
  IpDiscardFirstFragmentIncomplete,
  IpDiscardHeaderNotContiguous,
  IpDiscardHeaderNotAligned,
  IpDiscardReceivePathMax,
  IpDiscardHopLimitExceeded,
  IpDiscardAddressUnreachable,
  IpDiscardRscPacket,
  IpDiscardSourceViolation,
  IpDiscardForwardPathMax,
  IpDiscardArbitrationUnhandled,
  IpDiscardInspectionAbsorb,
  IpDiscardDontFragmentMtuExceeded,
  IpDiscardBufferLengthExceeded,
  IpDiscardAddressResolutionTimeout,
  IpDiscardAddressResolutionFailure,
  IpDiscardIpsecFailure,
  IpDiscardExtensionHeadersFailure,
  IpDiscardAllocationFailure,
  IpDiscardIpsnpiClientDrop,
  IpDiscardUnsupportedOffload,
  IpDiscardRoutingFailure,
  IpDiscardAncillaryDataFailure,
  IpDiscardRawDataFailure,
  IpDiscardSessionStateFailure,
  IpDiscardIpsnpiAllocationFailure,
  IpDiscardIpsnpiModifiedButNotForwarded,
  IpDiscardIpsnpiNoNextHop,
  IpDiscardIpsnpiNoCompartment,
  IpDiscardIpsnpiNoInterface,
  IpDiscardIpsnpiNoSubInterface,
  IpDiscardIpsnpiInterfaceDisabled,
  IpDiscardIpsnpiSegmentationFailed,
  IpDiscardIpsnpiNoEthernetHeader,
  IpDiscardIpsnpiUnexpectedFragment,
  IpDiscardIpsnpiUnsupportedInterfaceType,
  IpDiscardIpsnpiInvalidLsoInfo,
  IpDiscardIpsnpiInvalidUsoInfo,
  IpDiscardInternalError,
  IpDiscardAdministrativelyConfigured,
  IpDiscardBadOption,
  IpDiscardLoopbackDisallowed,
  IpDiscardSmallerScope,
  IpDiscardQueueFull,
  IpDiscardInterfaceDisabled,
  IpDiscardNlClientDiscard,
  IpDiscardIpsnpiUroSegmentSizeExceedsMtu,
  IpDiscardSwUsoFailure,
  IpDiscardMax
} IP_DISCARD_REASON, *PIP_DISCARD_REASON;

常數

 
IpDiscardBadSourceAddress
傳出封包的來源位址是多播位址、廣播位址或 IPv6 位址,其中包含內嵌的 IPv4 回送或未指定的位址。
IpDiscardNotLocallyDestined
接收的封包目的地位址不存在於系統上,而且沒有任何適當的轉送介面存在。
IpDiscardProtocolUnreachable
接收的封包沒有傳輸通訊協定處理程式,或傳輸通訊協定處理程式拒絕處理封包。
IpDiscardPortUnreachable
沒有應用程式在接收的封包目的地埠上接收封包。
IpDiscardBadLength
在接收的封包內指定的長度字段與封包的長度不一致。
IpDiscardMalformedHeader
接收的封包包含辨識的擴充標頭或選項,其內容無效。
IpDiscardNoRoute
接收的封包無法轉送到其目的地地址,因為系統的路由表不包含該目的地的路由。
IpDiscardBeyondScope
無法轉送接收的封包,因為封包的傳入和傳出網路介面對於封包的區域層級有不同的區域索引。
IpDiscardInspectionDrop
由於安全性檢查或通訊協定合規性問題失敗,封包在檢查期間遭到捨棄。
IpDiscardTooManyDecapsulations
接收的封包無法轉送至其目的地地址,因為卸除太多。
IpDiscardAdministrativelyProhibited
封包因為系統管理原則禁止傳輸或接收而捨棄。
IpDiscardBadChecksum
封包已捨棄,因為總和檢查碼不正確,表示潛在的數據損毀。
IpDiscardFirstFragmentIncomplete
封包的第一個片段不完整,導致捨棄整個封包。
IpDiscardHeaderNotContiguous
封包的標頭在記憶體中不是連續的,導致它遭到捨棄。
IpDiscardHeaderNotAligned
封包標頭未正確對齊,導致其因為格式設定問題而捨棄。
IpDiscardReceivePathMax
封包已捨棄,因為它超過接收路徑上允許的最大長度。
IpDiscardHopLimitExceeded
已超過收到的封包躍點限制或存留時間限制。
IpDiscardAddressUnreachable
傳出封包無法傳送至封包的目的地位址,因為目的地不存在,或不允許將封包傳送至該目的地。
IpDiscardRscPacket
無法傳送傳出封包,因為它是 RSC) 封包 (接收端聯合。
IpDiscardSourceViolation
封包遭到捨棄,因為它違反來源地址驗證檢查。
IpDiscardForwardPathMax
封包超過轉送和捨棄的路徑長度上限。
IpDiscardArbitrationUnhandled
封包已捨棄,因為它需要未處理的仲裁。
IpDiscardInspectionAbsorb
無法傳送傳出封包,因為其擁有權是PACKET。
IpDiscardDontFragmentMtuExceeded
封包已捨棄,因為它超過 MTU 大小,而且已設定 [不要片段位]。
IpDiscardBufferLengthExceeded
封包已捨棄,因為它超過緩衝區長度限制。
IpDiscardAddressResolutionTimeout
封包因為位址解析逾時而捨棄。
IpDiscardAddressResolutionFailure
封包已捨棄,因為位址解析失敗。
IpDiscardIpsecFailure
封包因為 IPsec 處理失敗而捨棄。
IpDiscardExtensionHeadersFailure
封包因為處理 IPv6 延伸模組標頭而失敗而遭到捨棄。
IpDiscardAllocationFailure
封包因配置必要資源失敗而捨棄。
IpDiscardIpsnpiClientDrop
IPSNPI 用戶端因為未指定的原因而捨棄封包。
IpDiscardUnsupportedOffload
封包已捨棄,因為它需要不支援的卸除作業。
IpDiscardRoutingFailure
封包因為路由失敗而捨棄。
IpDiscardAncillaryDataFailure
封包因為與輔助數據處理相關的失敗而捨棄。
IpDiscardRawDataFailure
封包因處理原始數據失敗而遭到捨棄。
IpDiscardSessionStateFailure
因為與會話狀態管理相關的失敗,所以已捨棄封包。
IpDiscardIpsnpiAllocationFailure
封包因為 IPSNPI 子系統內的配置失敗而捨棄。
IpDiscardIpsnpiModifiedButNotForwarded
封包已由 IPSNPI 修改,但未轉送,導致其捨棄。
IpDiscardIpsnpiNoNextHop
封包已捨棄,因為 IPSNPI 子系統中無法判斷下一個躍點。
IpDiscardIpsnpiNoCompartment
封包因為 IPSNPI 子系統中的遺漏區間而捨棄。
IpDiscardIpsnpiNoInterface
封包遭到捨棄,因為 IPSNPI 子系統中找不到任何介面。
IpDiscardIpsnpiNoSubInterface
因為 IPSNPI 子系統中沒有子介面,所以捨棄封包。
IpDiscardIpsnpiInterfaceDisabled
封包已捨棄,因為 IPSNPI 子系統中的介面已停用。
IpDiscardIpsnpiSegmentationFailed
封包因為 IPSNPI 子系統內的分割失敗而捨棄。
IpDiscardIpsnpiNoEthernetHeader
封包已捨棄,因為它在 IPSNPI 子系統中缺少乙太網路標頭。
IpDiscardIpsnpiUnexpectedFragment
封包已捨棄,因為它是 IPSNPI 子系統中的非預期片段。
IpDiscardIpsnpiUnsupportedInterfaceType
封包因為 IPSNPI 子系統中不支援的介面類型而捨棄。
IpDiscardIpsnpiInvalidLsoInfo
封包遭到捨棄,因為 IPSNPI 子系統中無效的大型傳送卸除 (LSO) 資訊。
IpDiscardIpsnpiInvalidUsoInfo
因為 IPSNPI 子系統中的 USO) 資訊 (無效,所以捨棄封包。
IpDiscardInternalError
封包因為系統內部錯誤而捨棄。
IpDiscardAdministrativelyConfigured
封包因為系統管理設定而無法處理而捨棄。
IpDiscardBadOption
封包遭到捨棄,因為它包含不正確的選項或無法處理的選項。
IpDiscardLoopbackDisallowed
封包遭到捨棄,因為它的類型或目的地不允許回送。
IpDiscardSmallerScope
封包遭到捨棄,因為其範圍小於成功傳遞所需的範圍。
IpDiscardQueueFull
封包已捨棄,因為處理佇列已滿。
IpDiscardInterfaceDisabled
封包已捨棄,因為到達的介面已停用。
IpDiscardNlClientDiscard
Netlink 用戶端因為未指定的原因而捨棄封包。
IpDiscardIpsnpiUroSegmentSizeExceedsMtu
封包遭到捨棄,因為 UDP RSC 卸除的區段大小 (URO) 超過 IPSNPI 子系統中的 MTU。
IpDiscardSwUsoFailure
封包因 UDP 分割卸除 (USO) 失敗而捨棄。
IpDiscardMax
列舉的最大值。

規格需求

需求
標頭 fwpsu.h