Did I find the right examples for you? yes no

All Samples(10)  |  Call(10)  |  Derive(0)  |  Import(0)

src/l/o/loxigen-HEAD/loxi_output/pyloxi/loxi/of11/common.py   loxigen(Download)
        packed.append(struct.pack("!H", 0)) # placeholder for length at index 1
        packed.append(util.pack_port_no(self.in_port))
        packed.append(util.pack_wc_bmap(self.wildcards))
        packed.append(struct.pack("!6B", *self.eth_src))
        packed.append(struct.pack("!6B", *self.eth_src_mask))
        packed.append('\x00' * 7)
        packed.append(struct.pack("!32s", self.name))
        packed.append(util.pack_wc_bmap(self.wildcards))
        packed.append(util.pack_match_bmap(self.match))
        packed.append(struct.pack("!L", self.instructions))

src/l/o/loxigen-HEAD/loxi_output/pyloxi/loxi/of10/common.py   loxigen(Download)
    def pack(self):
        packed = []
        packed.append(util.pack_wc_bmap(self.wildcards))
        packed.append(util.pack_port_no(self.in_port))
        packed.append(struct.pack("!6B", *self.eth_src))
        packed.append('\x00' * 3)
        packed.append(struct.pack("!32s", self.name))
        packed.append(util.pack_wc_bmap(self.wildcards))
        packed.append(struct.pack("!L", self.max_entries))
        packed.append(struct.pack("!L", self.active_count))

src/l/o/loxigen-HEAD/loxi_output/pyloxi/loxi/of12/common.py   loxigen(Download)
        packed.append(struct.pack("!32s", self.name))
        packed.append(util.pack_match_bmap(self.match))
        packed.append(util.pack_wc_bmap(self.wildcards))
        packed.append(struct.pack("!L", self.write_actions))
        packed.append(struct.pack("!L", self.apply_actions))

src/o/f/oftest-HEAD/src/python/loxi/of11/common.py   oftest(Download)
        packed.append(struct.pack("!H", 0)) # placeholder for length at index 1
        packed.append(util.pack_port_no(self.in_port))
        packed.append(util.pack_wc_bmap(self.wildcards))
        packed.append(struct.pack("!6B", *self.eth_src))
        packed.append(struct.pack("!6B", *self.eth_src_mask))
        packed.append('\x00' * 7)
        packed.append(struct.pack("!32s", self.name))
        packed.append(util.pack_wc_bmap(self.wildcards))
        packed.append(util.pack_match_bmap(self.match))
        packed.append(struct.pack("!L", self.instructions))

src/o/f/oftest-HEAD/src/python/loxi/of10/common.py   oftest(Download)
    def pack(self):
        packed = []
        packed.append(util.pack_wc_bmap(self.wildcards))
        packed.append(util.pack_port_no(self.in_port))
        packed.append(struct.pack("!6B", *self.eth_src))
        packed.append('\x00' * 3)
        packed.append(struct.pack("!32s", self.name))
        packed.append(util.pack_wc_bmap(self.wildcards))
        packed.append(struct.pack("!L", self.max_entries))
        packed.append(struct.pack("!L", self.active_count))

src/o/f/oftest-HEAD/src/python/loxi/of12/common.py   oftest(Download)
        packed.append(struct.pack("!32s", self.name))
        packed.append(util.pack_match_bmap(self.match))
        packed.append(util.pack_wc_bmap(self.wildcards))
        packed.append(struct.pack("!L", self.write_actions))
        packed.append(struct.pack("!L", self.apply_actions))