(CommandList
  children: [
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:basedir)
          op: Equal
          rhs: 
            {
              (CommandSubPart
                command_list: (CommandList children:[(C {(dirname)} {($ VSub_Number '$0')})])
                left_token: <Left_Backtick '`'>
                spids: [19 23]
              )
            }
          spids: [18]
        )
      ]
      spids: [18]
    )
    (C {(source)} {(${ VSub_Name basedir) (/functions.sh)})
    (C {(root_check_run_with_sudo)} {(DQ ($ VSub_At '$@'))})
    (C {(source)} {(${ VSub_Name basedir) (/parameters.sh)})
    (If
      arms: [
        (if_arm
          cond: [
            (Sentence
              child: (C {(Lit_Other '[')} {(-z)} {(DQ ($ VSub_Name '$DEST_IP'))} {(Lit_Other ']')})
              terminator: <Op_Semi ';'>
            )
          ]
          action: [
            (AndOr
              ops: [Op_DAmp Op_DPipe]
              children: [
                (C {(Lit_Other '[')} {(-z)} {(DQ ($ VSub_Name '$IP6'))} {(Lit_Other ']')})
                (Assignment
                  keyword: Assign_None
                  pairs: [
                    (assign_pair
                      lhs: (LhsName name:DEST_IP)
                      op: Equal
                      rhs: {(DQ (198.18.0.42))}
                      spids: [89]
                    )
                  ]
                  spids: [89]
                )
                (Assignment
                  keyword: Assign_None
                  pairs: [
                    (assign_pair
                      lhs: (LhsName name:DEST_IP)
                      op: Equal
                      rhs: {(DQ ('FD00::1'))}
                      spids: [96]
                    )
                  ]
                  spids: [96]
                )
              ]
            )
          ]
          spids: [16777215 74]
        )
      ]
      spids: [16777215 101]
    )
    (AndOr
      ops: [Op_DAmp]
      children: [
        (C {(Lit_Other '[')} {(-z)} {(DQ ($ VSub_Name '$CLONE_SKB'))} {(Lit_Other ']')})
        (Assignment
          keyword: Assign_None
          pairs: [(assign_pair lhs:(LhsName name:CLONE_SKB) op:Equal rhs:{(DQ (0))} spids:[115])]
          spids: [115]
        )
      ]
    )
    (AndOr
      ops: [Op_DAmp Op_DAmp]
      children: [
        (C {(Lit_Other '[')} {(-z)} {(DQ ($ VSub_Name '$DST_MAC'))} {(Lit_Other ']')})
        (C {(usage)})
        (C {(err)} {(2)} {(DQ ('Must specify -m dst_mac'))})
      ]
    )
    (Assignment
      keyword: Assign_None
      pairs: [(assign_pair lhs:(LhsName name:DELAY) op:Equal rhs:{(DQ (0))} spids:[151])]
      spids: [151]
    )
    (Assignment
      keyword: Assign_None
      pairs: [(assign_pair lhs:(LhsName name:COUNT) op:Equal rhs:{(DQ (100000))} spids:[159])]
      spids: [159]
    )
    (Assignment
      keyword: Assign_None
      pairs: [(assign_pair lhs:(LhsName name:UDP_MIN) op:Equal rhs:{(9)} spids:[171])]
      spids: [171]
    )
    (Assignment
      keyword: Assign_None
      pairs: [(assign_pair lhs:(LhsName name:UDP_MAX) op:Equal rhs:{(109)} spids:[174])]
      spids: [174]
    )
    (C {(pg_ctrl)} {(DQ (reset))})
    (Assignment
      keyword: Assign_None
      pairs: [(assign_pair lhs:(LhsName name:thread) op:Equal rhs:{(0)} spids:[194])]
      spids: [194]
    )
    (C {(pg_thread)} {($ VSub_Name '$thread')} {(DQ (rem_device_all))})
    (C {(pg_thread)} {($ VSub_Name '$thread')} {(DQ (add_device))} {($ VSub_Name '$DEV')})
    (C {(pg_set)} {($ VSub_Name '$DEV')} {(DQ ('count ') ($ VSub_Name '$COUNT'))})
    (C {(pg_set)} {($ VSub_Name '$DEV')} {(DQ ('clone_skb ') ($ VSub_Name '$CLONE_SKB'))})
    (C {(pg_set)} {($ VSub_Name '$DEV')} {(DQ ('pkt_size ') ($ VSub_Name '$PKT_SIZE'))})
    (C {(pg_set)} {($ VSub_Name '$DEV')} {(DQ ('delay ') ($ VSub_Name '$DELAY'))})
    (C {(pg_set)} {($ VSub_Name '$DEV')} {(DQ ('flag NO_TIMESTAMP'))})
    (C {(pg_set)} {($ VSub_Name '$DEV')} {(DQ ('dst_mac ') ($ VSub_Name '$DST_MAC'))})
    (C {(pg_set)} {($ VSub_Name '$DEV')} {(DQ (dst) ($ VSub_Name '$IP6') (' ') ($ VSub_Name '$DEST_IP'))})
    (C {(pg_set)} {($ VSub_Name '$DEV')} {(DQ ('flag UDPSRC_RND'))})
    (C {(pg_set)} {($ VSub_Name '$DEV')} {(DQ ('udp_src_min ') ($ VSub_Name '$UDP_MIN'))})
    (C {(pg_set)} {($ VSub_Name '$DEV')} {(DQ ('udp_src_max ') ($ VSub_Name '$UDP_MAX'))})
    (SimpleCommand
      words: [{(echo)} {(DQ ('Running... ctrl^C to stop'))}]
      redirects: [(Redir op_id:Redir_GreatAnd fd:16777215 arg_word:{(2)} spids:[346])]
    )
    (C {(pg_ctrl)} {(DQ (start))})
    (SimpleCommand
      words: [{(echo)} {(DQ (Done))}]
      redirects: [(Redir op_id:Redir_GreatAnd fd:16777215 arg_word:{(2)} spids:[361])]
    )
    (C {(echo)} {(DQ ('Result device: ') ($ VSub_Name '$DEV'))})
    (C {(cat)} {(/proc/net/pktgen/) ($ VSub_Name '$DEV')})
  ]
)