common.json (b935385c351d624993c4accd712cef8510658ecd) | common.json (a937b6aa739f65f2cae2ad9a7eb65a309ad2a359) |
---|---|
1# -*- Mode: Python -*- 2# vim: filetype=python 3 4## 5# = Common data types 6## 7 8## --- 56 unchanged lines hidden (view full) --- 65## 66# @StrOrNull: 67# 68# This is a string value or the explicit lack of a string (null 69# pointer in C). Intended for cases when 'optional absent' already 70# has a different meaning. 71# 72# @s: the string value | 1# -*- Mode: Python -*- 2# vim: filetype=python 3 4## 5# = Common data types 6## 7 8## --- 56 unchanged lines hidden (view full) --- 65## 66# @StrOrNull: 67# 68# This is a string value or the explicit lack of a string (null 69# pointer in C). Intended for cases when 'optional absent' already 70# has a different meaning. 71# 72# @s: the string value |
73# |
|
73# @n: no string value 74# 75# Since: 2.10 76## 77{ 'alternate': 'StrOrNull', 78 'data': { 's': 'str', 79 'n': 'null' } } 80 --- 69 unchanged lines hidden (view full) --- 150# @HostMemPolicy: 151# 152# Host memory policy types 153# 154# @default: restore default policy, remove any nondefault policy 155# 156# @preferred: set the preferred host nodes for allocation 157# | 74# @n: no string value 75# 76# Since: 2.10 77## 78{ 'alternate': 'StrOrNull', 79 'data': { 's': 'str', 80 'n': 'null' } } 81 --- 69 unchanged lines hidden (view full) --- 151# @HostMemPolicy: 152# 153# Host memory policy types 154# 155# @default: restore default policy, remove any nondefault policy 156# 157# @preferred: set the preferred host nodes for allocation 158# |
158# @bind: a strict policy that restricts memory allocation to the 159# host nodes specified | 159# @bind: a strict policy that restricts memory allocation to the host 160# nodes specified |
160# | 161# |
161# @interleave: memory allocations are interleaved across the set 162# of host nodes specified | 162# @interleave: memory allocations are interleaved across the set of 163# host nodes specified |
163# 164# Since: 2.1 165## 166{ 'enum': 'HostMemPolicy', 167 'data': [ 'default', 'preferred', 'bind', 'interleave' ] } 168 169## 170# @NetFilterDirection: 171# | 164# 165# Since: 2.1 166## 167{ 'enum': 'HostMemPolicy', 168 'data': [ 'default', 'preferred', 'bind', 'interleave' ] } 169 170## 171# @NetFilterDirection: 172# |
172# Indicates whether a netfilter is attached to a netdev's transmit queue or 173# receive queue or both. | 173# Indicates whether a netfilter is attached to a netdev's transmit 174# queue or receive queue or both. |
174# 175# @all: the filter is attached both to the receive and the transmit | 175# 176# @all: the filter is attached both to the receive and the transmit |
176# queue of the netdev (default). | 177# queue of the netdev (default). |
177# 178# @rx: the filter is attached to the receive queue of the netdev, | 178# 179# @rx: the filter is attached to the receive queue of the netdev, |
179# where it will receive packets sent to the netdev. | 180# where it will receive packets sent to the netdev. |
180# 181# @tx: the filter is attached to the transmit queue of the netdev, | 181# 182# @tx: the filter is attached to the transmit queue of the netdev, |
182# where it will receive packets sent by the netdev. | 183# where it will receive packets sent by the netdev. |
183# 184# Since: 2.5 185## 186{ 'enum': 'NetFilterDirection', 187 'data': [ 'all', 'rx', 'tx' ] } 188 189## 190# @GrabToggleKeys: --- 18 unchanged lines hidden --- | 184# 185# Since: 2.5 186## 187{ 'enum': 'NetFilterDirection', 188 'data': [ 'all', 'rx', 'tx' ] } 189 190## 191# @GrabToggleKeys: --- 18 unchanged lines hidden --- |