Home | History | Annotate | Download | only in tcpdump

Lines Matching refs:parent

179 #		new OBJECT IDENTIFIER ::= { parent value }
182 function oidadd(new, parent, value) {
184 if (parent == "0" && value == 0)
187 print "/* oidadd" inn(FILENAME) ":", new, "in", parent, "as", value, "line", $0, "*/"
190 gsub(/[-&\/]/,"",parent)
191 # check if parent missing
192 if (oid[parent] == "") {
193 printf "/* parse problem%s: no parent for %s.%s(%d) */\n", \
194 inn(FILENAME), parent, new, value
197 # check if parent.value already exists
200 inn(FILENAME), parent, new, value, oid[new]
203 # check for new name for parent.value
204 if (child[parent] != "") {
205 for (sib = child[parent]; sib != ""; sib = sibling[sib])
211 inn(FILENAME), new, parent, \
218 if (child[parent] == "") {
219 child[parent] = new
221 sibling[new] = child[parent]
222 child[parent] = new